namespace Admin.NET.Core;
///
/// 系统动态插件表
///
[SugarTable(null, "系统动态插件表")]
[SystemTable]
public class SysPlugin : EntityTenant
{
///
/// 名称
///
[SugarColumn(ColumnDescription = "名称", Length = 64)]
[Required, MaxLength(64)]
public virtual string Name { get; set; }
///
/// C#代码
///
[SugarColumn(ColumnDescription = "C#代码", ColumnDataType = StaticConfig.CodeFirst_BigString)]
[Required]
public virtual string CsharpCode { get; set; }
///
/// 程序集名称
///
[SugarColumn(ColumnDescription = "程序集名称", Length = 512)]
[MaxLength(512)]
public string? AssemblyName { get; set; }
///
/// 排序
///
[SugarColumn(ColumnDescription = "排序")]
public int OrderNo { get; set; } = 100;
///
/// 状态
///
[SugarColumn(ColumnDescription = "状态")]
public StatusEnum Status { get; set; } = StatusEnum.Enable;
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", Length = 128)]
[MaxLength(128)]
public string? Remark { get; set; }
}