add 消费处理完成
This commit is contained in:
29
Src/Dlhis.Entity/Canteen/Entities/WalletEntity.cs
Normal file
29
Src/Dlhis.Entity/Canteen/Entities/WalletEntity.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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_facotry" })]
|
||||
public string Factory { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user