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
851 B
35 lines
851 B
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
using Win_in.Sfs.Shared.Domain.Entities;
|
|
|
|
namespace Win_in.Sfs.Basedata.Domain;
|
|
|
|
/// <summary>
|
|
/// 字典
|
|
/// </summary>
|
|
public class Dict : SfsBaseDataAggregateRootBase, IHasCode
|
|
{
|
|
|
|
/// <summary>
|
|
/// 字典代码
|
|
/// </summary>
|
|
[Display(Name = "字典代码")]
|
|
[IgnoreUpdate]
|
|
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>
|
|
public List<DictItem> Items { get; set; } = new List<DictItem>();
|
|
}
|
|
|