using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 单位组
///
[SugarTable("SysUnitGroup","单位组")]
public class SysUnitGroup : EntityTenant
{
///
/// 创建者部门Id
///
[SugarColumn(ColumnName = "CreateOrgId", ColumnDescription = "创建者部门Id")]
public long? CreateOrgId { get; set; }
///
/// 创建者部门名称
///
[SugarColumn(ColumnName = "CreateOrgName", ColumnDescription = "创建者部门名称", Length = 64)]
public string? CreateOrgName { get; set; }
///
/// 是否启用
///
[Required]
[SugarColumn(ColumnName = "IsEnable", ColumnDescription = "是否启用")]
public bool IsEnable { get; set; }
///
/// 名称
///
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 64)]
public string? Name { get; set; }
}