using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SKMC.Api.Client.Access { /// /// 客户端权限 /// public class ClientAccess { private long _id; public long Id { get { return _id; } set { _id = value; } } private string _code; /// /// 权限码 /// public string Code { get { return _code; } set { _code = value; } } private string _name; public string Name { get { return _name; } set { _name = value; } } private long _parentId; /// /// 父节点Id(预留) /// public long ParentId { get { return _parentId; } set { _parentId = value; } } private short _type; /// /// 权限类型, 0为UI类可见; 1为操作类可用 /// public short Type { get { return _type; } set { _type = value; } } /// /// 是否管理类权限, 0为非管理类权限; 0为管理类权限 /// public short Admin { get; set; } /// /// 当前权限在这些设备状态下时有效 /// public byte[] DeviceStatus { get; set; } } }