using Kurisu.Core.DataAccess.Entity;
using Kurisu.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Basic.Entity;
///
/// 档案组
///
[SugarTable(TableName = "GainfoGroup", TableDescription = "档案组")]
public class GainfoGroupEntity : SugarBaseEntity, ITenantId
{
///
/// 父级Code
///
public Guid? PCode { get; set; }
///
/// 分组code
///
[SugarColumn(ColumnDescription = "分组code")]
public Guid Code { get; set; }
///
/// 名称
///
[SugarColumn(ColumnDescription = "名称")]
public string Name { get; set; }
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注")]
public string Remark { get; set; }
///
/// 是否默认分组
///
[SugarColumn(ColumnDescription = "是否默认分组", ColumnDataType = "bit", DefaultValue = "1")]
public bool IsDefault { get; set; } = true;
///
/// 是否可编辑
///
[SugarColumn(ColumnDescription = "是否可编辑", ColumnDataType = "bit", DefaultValue = "1")]
public bool Editable { get; set; } = true;
public string TenantId { get; set; }
}