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

54 lines
1.4 KiB
C#
Raw Permalink 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_RedemptionCode")]
[EntityDescription(NameRuleMode = NameRuleMode.TableName, NameRuleType= NameRuleType.UpperSnakeCase)]
public class T_RedemptionCode : DefaultGameAppEntity
{
/// <summary>
/// 兑换码(唯一) => 备注: 兑换码(唯一)
/// </summary>
public string? Code { get; set; }
/// <summary>
/// 兑换码类型 => 备注: 兑换码类型(如优惠券、礼品卡等)
/// </summary>
public Int32 Type { get; set; }
/// <summary>
/// 使用次数 => 备注: 最大使用次数0表示无限次使用
/// </summary>
public Int32 UsageLimit { get; set; }
/// <summary>
/// 有效期 => 备注: 兑换码有效期截止时间
/// </summary>
public DateTime ExpirationDate { get; set; }
/// <summary>
/// 是否启用 => 备注: 是否启用1为启用0为禁用
/// </summary>
public Boolean IsActive { get; set; }
/// <summary>
/// 生成时间 => 备注: 兑换码生成时间
/// </summary>
public DateTime CreatedDate { get; set; }
/// <summary>
/// 备注信息 => 备注: 备注信息(可选
/// </summary>
public string? Remarks { get; set; }
}