using System; using System.Collections.Generic; namespace TradeModel { public class JC_RoleInfo { public Int32? RoleID{ get; set; } public String RoleName{ get; set; } public Int32? Sort{ get; set; } public String Description{ get; set; } public Int32? CompanyId{ get; set; } public List ListRoleUser { get; set; } public List ListRoleMenu { get; set; } } public class JC_RoleUser { public Int32? Id { get; set; } public Int32? RoleId { get; set; } /// /// 角色成员类型1人员2职务3部门4机构 /// public Int32? RoleType { get; set; } /// /// RoleType=1时对应JC_ UserInfo的UserId,RoleType=2时对应JC_BaseCodeDetail的Code,RoleType=3时对应JC_DepartMent o的DeptId,RoleType=4时对应JC_ Company的CompanyId /// public Int32? UserId { get; set; } public String UserName { get; set; } } public class JC_RoleMenu { public int ParentModuleNo { get; set; } public int ModuleNo { get; set; } public string ModuleName { get; set; } public int PopedomType { get; set; } public int IsUrl { get; set; } } }