using System;

namespace CloudGaming.Model.DbSqlServer.Db_User;

/// <summary>
/// 意向订单表
/// </summary>
public partial class T_User_IntentOrder: MultiTenantEntity
{
    public T_User_IntentOrder() { }

    /// <summary>
    /// 主键
    /// </summary>
    public virtual int Id { get; set; }

    /// <summary>
    /// 用户Id
    /// </summary>
    public virtual int UserId { get; set; }

    /// <summary>
    /// 产品id
    /// </summary>
    public virtual string ProductId { get; set; } = null!;

    /// <summary>
    /// 支付方式
    /// </summary>
    public virtual string Method { get; set; } = null!;

    /// <summary>
    /// 价格
    /// </summary>
    public virtual decimal Price { get; set; }

    /// <summary>
    /// 数量
    /// </summary>
    public virtual int Quantity { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public virtual int Status { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public virtual string? Notes { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime CreatedAt { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public virtual DateTime UpdatedAt { get; set; }

     /// <summary>
    /// 所属租户
    /// </summary>
    public override Guid TenantId { get; set; }
         
    /// <summary>
    /// 订单Id
    /// </summary>
    public virtual string OrderId { get; set; } = null!;

    /// <summary>
    /// 创建天
    /// </summary>
    public virtual int CreatedDay { get; set; }

    /// <summary>
    /// 渠道号
    /// </summary>
    public virtual string? Channel { get; set; }
}
