DigitalFactory/Admin.NET/Admin.NET.Application/Entity/SuppleInformation.cs

42 lines
1.1 KiB
C#
Raw Normal View History

2024-03-20 02:37:36 +00:00
using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 辅助资料
/// </summary>
[SugarTable("SuppleInformation","辅助资料")]
public class SuppleInformation : EntityTenant
{
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
/// <summary>
/// 编码
/// </summary>
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
public string? CodeNum { get; set; }
/// <summary>
/// 类型
/// </summary>
[SugarColumn(ColumnName = "Type", ColumnDescription = "类型")]
public long? Type { get; set; }
/// <summary>
/// 可用状态
/// </summary>
[Required]
[SugarColumn(ColumnName = "IsEnable", ColumnDescription = "可用状态")]
public bool IsEnable { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 64)]
public string? Remarks { get; set; }
}