using System;
using System.Collections.Generic;
namespace ChouBox.Model.Entities;
///
/// 订单表
///
public partial class Order
{
public uint Id { get; set; }
///
/// 用户ID
///
public uint UserId { get; set; }
///
/// 订单号
///
public string OrderNum { get; set; } = null!;
///
/// 订单总金额
///
public decimal OrderTotal { get; set; }
///
/// 订单折扣金额
///
public decimal OrderZheTotal { get; set; }
///
/// 微信支付
///
public decimal Price { get; set; }
///
/// 钻石支付
///
public decimal UseMoney { get; set; }
///
/// UU币支付
///
public decimal UseIntegral { get; set; }
///
/// 积分抵扣,未使用
///
public decimal UseScore { get; set; }
///
/// 抽奖券抵扣
///
public int? UseDraw { get; set; }
///
/// 道具卡抵扣 (使用的数量)
///
public int? UseItemCard { get; set; }
///
/// 折扣
///
public decimal Zhe { get; set; }
///
/// 盒子id
///
public uint GoodsId { get; set; }
///
/// 第几套
///
public uint Num { get; set; }
///
/// 盒子单价
///
public decimal GoodsPrice { get; set; }
///
/// 盒子标题
///
public string? GoodsTitle { get; set; }
///
/// 盒子图片
///
public string? GoodsImgurl { get; set; }
///
/// 抽奖数量
///
public uint PrizeNum { get; set; }
///
/// 抽卡机必出设置
///
public string? PrizeCardSet { get; set; }
///
/// 0未支付 1支付
///
public byte Status { get; set; }
///
/// 下单时间
///
public uint Addtime { get; set; }
///
/// 付款时间
///
public uint PayTime { get; set; }
///
/// 1微信 2支付宝
///
public byte PayType { get; set; }
///
/// 盒子类型
///
public byte OrderType { get; set; }
///
/// 1卡单
///
public byte KdIs { get; set; }
///
/// 优惠券id
///
public int? CouponId { get; set; }
///
/// 优惠券抵扣
///
public decimal? UseCoupon { get; set; }
///
/// 连击赏下 是否是抽的秘宝池 1是 0否
///
public bool? IsMibao { get; set; }
///
/// 是否首抽五折
///
public bool? IsShouZhe { get; set; }
public byte ZdfhIs { get; set; }
///
/// 广告id
///
public int? AdId { get; set; }
public int? ClickId { get; set; }
///
/// 是否为福利屋
///
public int IsFlw { get; set; }
///
/// 自动发货时间
///
public int? ZdfhTime { get; set; }
///
/// 达达卷支付
///
public decimal UseMoney2 { get; set; }
}