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

70 lines
1.6 KiB

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