using AutoMapper;
using System;
using Znyc.Admin.Commons.Dtos;
using Znyc.Admin.Security.Entitys;
namespace Znyc.Admin.Security.Dtos
{
///
/// 输入对象模型
///
[AutoMap(typeof(Role))]
[Serializable]
public class RoleInputDto : IInputDto
{
///
/// 主键
///
public long Id { get; set; }
///
/// 组织id
///
public long OrganizeId { get; set; }
///
/// 类别
///
public long Category { get; set; }
///
/// 编码
///
public string EnCode { get; set; }
///
/// 名称
///
public string FullName { get; set; }
///
/// 类型
///
public string Type { get; set; }
///
///是否可以编辑
///
public bool AllowEdit { get; set; }
///
/// 是否可以删除
///
public bool AllowDelete { get; set; }
///
/// 排序
///
public long SortCode { get; set; }
///
/// 是否可用
///
public bool IsEnabled { get; set; }
///
/// 详情描述
///
public string Description { get; set; }
}
}