using System; using SqlSugar; using System.Collections.Generic; namespace Mtxfw.Model { /// /// /// @author xubo /// @date 2026-02-01 /// [SugarTable("user_sign_log")] public class UserSignLog { /// /// Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 会员编号 /// [SugarColumn(ColumnName = "user_id")] public int UserId { get; set; } /// /// 之前的兑换券 /// [SugarColumn(ColumnName = "before_point")] public decimal BeforePoint { get; set; } = 0.00M; /// /// 本次签到获得的兑换券 /// public decimal Point { get; set; }= 0.00M; /// /// 本次更新后的兑换券 /// [SugarColumn(ColumnName = "after_point")] public decimal AfterPoint { get; set; } = 0.00M; /// /// 连续签到第N天 /// [SugarColumn(ColumnName = "number_day")] public int NumberDay { get; set; } = 0; /// /// 类型,1=用户签到,2=用户自行兑换 /// [SugarColumn(ColumnName = "class_id")] public int ClassId { get; set; } = 1; /// /// 创建日期 /// [SugarColumn(ColumnName = "create_day")] public string CreateDay { get; set; } = DateTime.Today.ToString("yyyy-MM-dd"); /// /// CreateTime /// [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } = DateTime.Now; /// /// Remark /// public string Remark { get; set; } } }