コード例 #1
0
 public virtual void Update(LeaveTypeParam leavetypeparam)
 {
     this.Id         = leavetypeparam.Id;
     this.Name       = leavetypeparam.Name;
     this.TotalDays  = leavetypeparam.TotalDays;
     this.UpdateDate = DateTimeOffset.Now.LocalDateTime;
 }
コード例 #2
0
 public LeaveType(LeaveTypeParam leavetypeparam)
 {
     this.Name       = leavetypeparam.Name;
     this.TotalDays  = leavetypeparam.TotalDays;
     this.CreateDate = DateTimeOffset.Now.LocalDateTime;
 }