namespace CloudGaming.Repository.Game.Entities.User;
///
/// 订单完成表
///
[Table("T_User_Order")]
[EntityDescription(NameRuleMode = NameRuleMode.TableName, NameRuleType= NameRuleType.UpperSnakeCase)]
public class T_User_Order : DefaultGameAppEntity
{
///
/// 订单编号 => 备注: 订单编号
///
public string? OrderId { get; set; }
///
/// 用户Id => 备注: 用户Id
///
public Int32 UserId { get; set; }
///
/// 订单创建时间 => 备注: 订单创建时间
///
public DateTime OrderDate { get; set; }
///
/// 订单支付时间 => 备注: 订单支付时间
///
public DateTime PaymentDate { get; set; }
///
/// 订单支付方式 => 备注: 订单支付方式
///
public string? PaymentMethod { get; set; }
///
/// 购买的产品Id => 备注: 购买的产品Id
///
public string? ProductId { get; set; }
///
/// 价格 => 备注: 价格
///
public Decimal TotalPrice { get; set; }
///
/// 订单状态 => 备注: 订单状态
///
public Int32 Status { get; set; }
///
/// 创建时间 => 备注: 创建时间
///
public DateTime CreatedAt { get; set; }
///
/// 修改时间 => 备注: 修改时间
///
public DateTime UpdatedAt { get; set; }
///
/// 订单创建天 => 备注: 订单创建天
///
public DateTime PaymentDay { get; set; }
///
/// 渠道 => 备注: 渠道
///
public string? Channel { get; set; }
}