Files
jinko.yikatong/Src/Dlhis.Entity/Canteen/Entities/WalletEntity.cs

29 lines
708 B
C#

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