This commit is contained in:
2025-08-12 15:11:26 +08:00
parent 61bbde9489
commit 505787c95c
2 changed files with 77 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Canteen.Entities;
/// <summary>
/// 用户余额表
/// </summary>
[SugarTable(TableName = "UserBalanceTmp", TableDescription = "用户余额表")]
public class UserBalanceTmpEntity : SugarBaseEntity, IVersion
{
/// <summary>
/// 学工号
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "学工号", UniqueGroupNameList = new[] { "idx_UserBalances_useCode" })]
public string UserCode { get; set; }
/// <summary>
/// 余额
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "余额")]
public decimal Balance { get; set; }
[SugarColumn(IsNullable = false)]
public int Version { get; set; }
}