feat 生日券功能,自动上传消费数据,提醒访客到期
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Canteen.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 用户消费上传记录表
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "UserBalanceUploadRecords", TableDescription = "用户消费上传记录表")]
|
||||
public class UserBalanceUploadRecordEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 年份
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "年份")]
|
||||
public int Year { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 月份
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "月份")]
|
||||
public int Month { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "学工号", UniqueGroupNameList = new[] { "idx_UserBalances_useCode" })]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消费
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "余额")]
|
||||
public decimal Cost { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user