feat 生日券功能,自动上传消费数据,提醒访客到期

This commit is contained in:
2025-12-09 11:35:05 +08:00
parent 323eb367d0
commit c1462a03dc
60 changed files with 1451 additions and 409 deletions

View File

@@ -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; }
}