You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.3 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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<JC_RoleUser> ListRoleUser { get; set; }
public List<JC_RoleMenu> ListRoleMenu { get; set; }
}
public class JC_RoleUser
{
public Int32? Id { get; set; }
public Int32? RoleId { get; set; }
/// <summary>
/// 角色成员类型1人员2职务3部门4机构
/// </summary>
public Int32? RoleType { get; set; }
/// <summary>
/// RoleType=1时对应JC_ UserInfo的UserIdRoleType=2时对应JC_BaseCodeDetail的CodeRoleType=3时对应JC_DepartMent o的DeptIdRoleType=4时对应JC_ Company的CompanyId
/// </summary>
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; }
}
}