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.
57 lines
1.3 KiB
57 lines
1.3 KiB
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Znyc.Recruitment.Admin.Security.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 输出对象模型
|
|
/// </summary>
|
|
[Serializable]
|
|
public class DictionaryOutputDto
|
|
{
|
|
/// <summary>
|
|
/// 设置或获取
|
|
/// </summary>
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字典父级
|
|
/// </summary>
|
|
public long ParentId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字典编码
|
|
/// </summary>
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字典值
|
|
/// </summary>
|
|
public string Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字典名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 启用
|
|
/// </summary>
|
|
public bool IsEnabled { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int Sort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 子集
|
|
/// </summary>
|
|
public List<DictionaryOutputDto> Children { get; set; }
|
|
}
|
|
}
|