33 lines
830 B
C#
33 lines
830 B
C#
using Kurisu.AspNetCore.DataAccess.Entity;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Canteen.Entities;
|
|
|
|
/// <summary>
|
|
/// 钱包
|
|
/// </summary>
|
|
[SugarTable(TableName = "Wallets", TableDescription = "钱包")]
|
|
public class WalletEntity : SugarBaseEntity , ISoftDeleted
|
|
{
|
|
/// <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; }
|
|
|
|
/// <inheritdoc />
|
|
public bool IsDeleted { get; set; }
|
|
} |