public page_ERACategoryForInfList(ViewERACategoryPermissionForInf e) : base() { this.Id = e.Id; this.parentID = e.parentID; this.name = e.name; this.departmentID = e.departmentID; this.department = e.department; this.personnelID = e.personnelID; this.personnel = e.personnel; this.dicisionProcessLevel = e.dicisionProcessLevel; this.Permission_departmentID = e.Permission_departmentID; this.Permission_department = e.Permission_department; this.addActivityPersonnelID = e.addActivityPersonnelID; this.addActivityPersonnel = e.addActivityPersonnel; switch (this.dicisionProcessLevel) { case "3": this.dicisionProcessLevel = "事業部"; break; case "2": this.dicisionProcessLevel = "處級"; break; case "1": this.dicisionProcessLevel = "部門"; break; } switch (string.IsNullOrEmpty(e.partent_name)) { case true: this.partent_name = "主類別"; break; case false: this.partent_name = e.partent_name; break; } switch (string.IsNullOrEmpty(e.Permission_department)) { case true: this.Permission_department = "適用全單位"; break; case false: this.Permission_department = e.Permission_department; break; } }
public ViewERACategoryPermissionForInfResult() : base() { this.setting = null; }