public NotificationDetailDto(string title, string content, string type, UserResponseDto receiver, ClassResponseDto classReceiver)
 {
     Title         = title;
     Content       = content;
     Type          = type;
     Receiver      = receiver;
     ClassReceiver = classReceiver;
 }
 public ParentResponseDto(Parent parent)
 {
     Id       = parent.Id;
     UserInfo = new UserResponseDto(parent.User);
 }
 public ParentResponseDto(int id, UserResponseDto userInfo)
 {
     Id       = id;
     UserInfo = userInfo;
 }
Esempio n. 4
0
 public TeacherResponseDto(int id, UserResponseDto user, TeamResponseDto teamInfo)
 {
     Id       = id;
     UserInfo = user;
     TeamInfo = teamInfo;
 }