CloudGamingAdmin/admin-server/CloudGaming.Repository.Game/Entities/App/T_User_RedemptionUsage.cs
2024-11-19 20:20:58 +08:00

54 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace CloudGaming.Repository.Game.Entities.App;
/// <summary>
/// 兑换码使用表
/// </summary>
[Table("T_User_RedemptionUsage")]
[EntityDescription(NameRuleMode = NameRuleMode.TableName, NameRuleType= NameRuleType.UpperSnakeCase)]
public class T_User_RedemptionUsage : DefaultGameAppEntity
{
/// <summary>
/// 兑换码 => 备注: 兑换码
/// </summary>
public string? Code { get; set; }
/// <summary>
/// 兑换码 => 备注: 兑换码主键表
/// </summary>
public Int32 RedemptionCodeId { get; set; }
/// <summary>
/// 用户Id => 备注: 用户Id
/// </summary>
public Int32 UserId { get; set; }
/// <summary>
/// 兑换码使用时间 => 备注: 兑换码使用时间
/// </summary>
public DateTime UsedDate { get; set; }
/// <summary>
/// 使用兑换码关联的订单ID可选 => 备注: 使用兑换码关联的订单ID可选
/// </summary>
public string? OrderId { get; set; }
/// <summary>
/// 使用状态 => 备注: 使用状态(如成功、失败、已过期等)
/// </summary>
public Int32 Status { get; set; }
/// <summary>
/// 备注 => 备注: 备注
/// </summary>
public string? Remarks { get; set; }
}