protected override string GetValue(Enum vEnum) { switch (vEnum) { case number: return(Number); case name: return(Name); case working_sartdate: return(WorkingSartdate); case working_enddate: return(WorkingEnddate); case holiday_flag: return(HolidayFlag.ToString()); case working_start: return(WorkingStart); case working_end: return(WorkingEnd); case break_time: return(BreakTime.ToString()); case their_working: return(TheirWorking.ToString()); case nomal_working: return(NomalWorking.ToString()); case guests_nomal_working: return(GuestsNomalWorking.ToString()); case guests_over_working: return(GuestsOverWorking.ToString()); case guests_working: return(GuestsWorking.ToString()); case update_date: return(UpdateDate); case delete_flag: return(DeleteFlag?.ToString()); default: return(""); } }
protected override string GetValue(Enum vEnum) { switch (vEnum) { case working_date: return(WorkingDate); case employee_number: return(EmployeeNumber); case post_name: return(PostName); case company_name: return(CompanyName); case department_name: return(DepartmentName); case holiday_flag: return(HolidayFlag); case working_start: return(WorkingStart); case working_end: return(WorkingEnd); case break_time: return(BreakTime.ToString()); case their_working_time: return(TheirWorkingTime.ToString()); case nomal_working: return(NomalWorking.ToString()); case their_working_number: return(TheirWorkingNumber.ToString()); case guests_nomal_working: return(GuestsNomalWorking.ToString()); case guests_over_working: return(GuestsOverWorking.ToString()); case guests_working: return(GuestsWorking.ToString()); case weekdays_over: return(WeekdaysOver?.ToString()); case weekdays_night: return(WeekdaysNight?.ToString()); case holiday_over: return(HolidayOver?.ToString()); case holiday_night: return(HolidayNight?.ToString()); case vacation_flag: return(VacationFlag?.ToString()); case vacation_type: return(VacationType?.ToString()); case absence_flag: return(AbsenceFlag?.ToString()); case absence_session_flag: return(AbsenceSessionFlag?.ToString()); case late_early_out_flag: return(LateEarlyOutFlag?.ToString()); case late_early_out_type: return(LateEarlyOutType?.ToString()); case late_early_out_session_type: return(LateEarlyOutSessionType?.ToString()); case late_early_out_time: return(LateEarlyOutTime); case remarks: return(Remarks); case update_date: return(UpdateDate); default: return(""); } }