using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 品牌
///
[SugarTable("Brand","品牌")]
public class Brand : EntityTenant
{
///
/// 名称
///
[Required]
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string Name { get; set; }
///
/// 编码
///
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
public string? CodeNum { get; set; }
///
/// 公众号
///
[SugarColumn(ColumnName = "OfficialAccount", ColumnDescription = "公众号", Length = 32)]
public string? OfficialAccount { get; set; }
///
/// 可用状态
///
[Required]
[SugarColumn(ColumnName = "IsEnable", ColumnDescription = "可用状态")]
public bool IsEnable { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 64)]
public string? Remarks { get; set; }
}