using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model
{
public class oms_wei_order_item
{
///
/// 订单商品表数据库id
///
public long id { get; set; }
public long shop_id { get; set; }
///
/// 商户ID
///
public long merchant_id { get; set; }
///
/// 订单id(平台订单id)
///
public string order_id { get; set; }
///
/// 商品spuid
///
public string product_id { get; set; }
public string sku_id { get; set; }
///
/// sku小图
///
public string thumb_img { get; set; }
///
/// sku数量
///
public int? sku_cnt { get; set; }
///
/// 售卖单价(单位:分)
///
public int? sale_price { get; set; }
///
/// 商品名称
///
public string title { get; set; }
///
/// 正在售后/退款流程中的 sku 数量
///
public int? on_aftersale_sku_cnt { get; set; }
///
/// 完成售后/退款的 sku 数量
///
public int? finish_aftersale_sku_cnt { get; set; }
///
/// 商品编码
///
public string sku_code { get; set; }
///
/// 市场单价(单位:分)
///
public int? market_price { get; set; }
///
/// sku属性JSON
///
public string sku_attrs { get; set; }
///
/// sku实付总价,取estimate_price和change_price中较小值
///
public int? real_price { get; set; }
///
/// 商品外部spuid
///
public string out_product_id { get; set; }
///
/// 采购价
///
public int? purchase_price { get; set; }
///
/// 运费
///
public int? freight { get; set; }
///
/// 商品外部skuid
///
public string out_sku_id { get; set; }
///
/// 是否有优惠金额,非必填,默认为false
///
public string is_discounted { get; set; }
///
/// 优惠后sku总价,非必填,is_discounted为true时有值
///
public int? estimate_price { get; set; }
///
/// 是否修改过价格,非必填,默认为false
///
public string is_change_price { get; set; }
///
/// 改价后sku总价,非必填,is_change_price为true时有值
///
public int? change_price { get; set; }
///
/// 订单内商品维度平台券优惠金额(利润需要计算这个金额在内)
///
public int? cash_coupon_discounted_price { get; set; }
///
/// 区域库存id
///
public string out_warehouse_id { get; set; }
///
/// 退货地址
///
public string return_address { get; set; }
///
/// 商品发货信息JSON
///
public string sku_deliver_info { get; set; }
///
/// 商品额外服务信息JSON
///
public string extra_service { get; set; }
///
/// 是否使用了会员积分抵扣
///
public string use_deduction { get; set; }
///
/// 会员积分抵扣金额,单位为分
///
public int? deduction_price { get; set; }
///
/// 达人佣金(微信小店:分账金额),单位为分
///
public int? predict_commission_fee { get; set; }
///
/// 达人佣金(微信小店:分账金额),单位为分
///
public int? commission_amount { get; set; }
///
/// 商品优惠券信息,逐步替换 order.order_detail.coupon_info
///
public string order_product_coupon_info_list { get; set; }
///
/// 商品id(o_goods外键)
///
public long? erp_goods_id { get; set; }
///
/// 商品skuid(o_goods_sku外键)
///
public long? erp_goods_sku_id { get; set; }
///
/// 售后状态 1:无售后或售后关闭,2:售后处理中,3:退款中,4: 退款成功 11 已取消
///
public int? refund_status { get; set; }
}
}