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