public static UpdateWorkComment CreateUpWorkRecord(WorkComment workComment)
 {
     var updateWorkComment = new UpdateWorkComment();
     updateWorkComment.ID = workComment.ID;
     updateWorkComment.Description = workComment.Description;
     return updateWorkComment;
 }
        public static ShowWorkComment CreateWorkRecord(WorkComment workComment)
        {
            var showWorkComment = new ShowWorkComment();
            showWorkComment.ID = workComment.ID;
            showWorkComment.CreateTime = workComment.CreateTime;
            showWorkComment.AccountId = workComment.AccountId;
            showWorkComment.Description = workComment.Description;

            return showWorkComment;
        }
 public WorkComment Create(Guid accountId, Guid recordAccountId)
 {
     WorkComment workComment = new WorkComment();
     workComment.ID = Guid.NewGuid();
     workComment.CommentAccount = accountId;
     workComment.AccountId = recordAccountId;
     workComment.CreateTime = DateTime.Now;
     workComment.Description = Description;
     workComment.RecordId = RecordId;
     return workComment;
 }
 public WorkComment Update(WorkComment workComment)
 {
     workComment.Description = Description;
     return workComment;
 }