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

36 lines
992 B
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("SysUnitGroup","单位组")]
public class SysUnitGroup : EntityTenant
{
/// <summary>
/// 创建者部门Id
/// </summary>
[SugarColumn(ColumnName = "CreateOrgId", ColumnDescription = "创建者部门Id")]
public long? CreateOrgId { get; set; }
/// <summary>
/// 创建者部门名称
/// </summary>
[SugarColumn(ColumnName = "CreateOrgName", ColumnDescription = "创建者部门名称", Length = 64)]
public string? CreateOrgName { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[Required]
[SugarColumn(ColumnName = "IsEnable", ColumnDescription = "是否启用")]
public bool IsEnable { get; set; }
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 64)]
public string? Name { get; set; }
}