using Kurisu.AspNetCore.DataAccess.Entity; using Kurisu.AspNetCore.DataAccess.SqlSugar; using SqlSugar; namespace Dlhis.Entity.Canteen.Entities; /// /// 钱包 /// [SugarTable(TableName = "Wallets", TableDescription = "钱包")] public class WalletEntity : SugarBaseEntity , ISoftDeleted { /// /// 钱包编码 /// [SugarColumn(IsNullable = false)] public string Code { get; set; } /// /// 钱包名称 /// [SugarColumn(IsNullable = false)] public string Name { get; set; } /// /// 厂区 /// [SugarColumn(IsNullable = false, UniqueGroupNameList = new[] { "idx_wallets_factry" })] public string Factory { get; set; } /// public bool IsDeleted { get; set; } }