Пример #1
0
 public TaskAssignDTO(TaskCreatingDTO taskCreatingDTO)
 {
     this.projectID       = taskCreatingDTO.ProjectID;
     this.stage           = taskCreatingDTO.Stage;
     this.task            = taskCreatingDTO.Task;
     this.employee        = taskCreatingDTO.Employee;
     this.taskDescription = taskCreatingDTO.TaskDescription;
     this.startDate       = taskCreatingDTO.StartDate;
     this.endDate         = taskCreatingDTO.EndDate;
     this.taskType        = taskCreatingDTO.TaskType;
     this.approval        = taskCreatingDTO.Approver;
     this.attachFile      = taskCreatingDTO.AttachFile;
     this.progress        = taskCreatingDTO.Progress;
     this.status          = taskCreatingDTO.Status;
     this.finishDate      = taskCreatingDTO.FinishDate;
     this.timeDelay       = taskCreatingDTO.TimeDelay;
     this.color           = taskCreatingDTO.Color;
     this.note            = taskCreatingDTO.Note;
 }
 public TaskCreatingDTO(TaskCreatingDTO taskCreatingDTO)
 {
     this.projectID       = taskCreatingDTO.projectID;
     this.stage           = taskCreatingDTO.stage;
     this.task            = taskCreatingDTO.task;
     this.employee        = taskCreatingDTO.employee;
     this.taskDescription = taskCreatingDTO.taskDescription;
     this.startDate       = taskCreatingDTO.startDate;
     this.endDate         = taskCreatingDTO.endDate;
     this.taskType        = taskCreatingDTO.taskType;
     this.approver        = taskCreatingDTO.approver;
     this.attachFile      = taskCreatingDTO.attachFile;
     this.progress        = taskCreatingDTO.progress;
     this.status          = taskCreatingDTO.status;
     this.finishDate      = taskCreatingDTO.finishDate;
     this.timeDelay       = taskCreatingDTO.timeDelay;
     this.color           = taskCreatingDTO.color;
     this.note            = taskCreatingDTO.note;
 }