public page_viewEmployeeTransationSetting(ViewEmployeeTransportationSetting e) : base() { this.EmpNo = e.EmpNo; this.functionDefinitionName = e.functionDefinitionName; this.Id = e.Id; this.organizationUnitName = e.organizationUnitName; this.TransId = e.TransId; this.TransType = e.TransType; this.userName = e.userName; switch (this.TransType) { case "car": this.TransTypeEnum = "汽車"; this.icon = "fa-car"; break; case "motorcycle": this.TransTypeEnum = "機車"; this.icon = "fa-motorcycle"; break; } }
public ViewEmployeeTransportationSettingResult() : base() { this.setting = null; }