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.
35 lines
885 B
35 lines
885 B
2 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using Win_in.Sfs.Shared.Domain;
|
||
|
|
||
|
namespace Win_in.Sfs.Basedata.Application.Contracts;
|
||
|
|
||
|
[Serializable]
|
||
|
[Display(Name = "字典")]
|
||
|
public class DictDTO : SfsBaseDataDTOBase, IHasCode, IHasName
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// 字典代码
|
||
|
/// </summary>
|
||
|
[Display(Name = "字典代码")]
|
||
|
public string Code { get; set; }
|
||
|
/// <summary>
|
||
|
/// 字典名称
|
||
|
/// </summary>
|
||
|
[Display(Name = "字典名称")]
|
||
|
public string Name { get; set; }
|
||
|
/// <summary>
|
||
|
/// 字典描述
|
||
|
/// </summary>
|
||
|
[Display(Name = "字典描述")]
|
||
|
public string Description { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 字典项列表
|
||
|
/// </summary>
|
||
|
[Display(Name = "字典项列表")]
|
||
|
public virtual ICollection<DictItemDTO> Items { get; set; } = new List<DictItemDTO>();
|
||
|
}
|