public UserShiftRevenue ToUserShiftRevenue() { UserShiftRevenue inst = new UserShiftRevenue(); this.AssignTo(inst); // set all properties to new instance. return(inst); }
public static SaveRevenueShift Create(UserShiftRevenue revenueShift, string revenueId, DateTime revenueDate) { var ret = new SaveRevenueShift(); ret.RevenueShift = revenueShift; ret.RevenueId = revenueId; ret.RevenueDate = revenueDate; return(ret); }