tmp .
This commit is contained in:
28
Src/Dlhis.Entity/Canteen/Entities/UserBalanceTmpEntity.cs
Normal file
28
Src/Dlhis.Entity/Canteen/Entities/UserBalanceTmpEntity.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user