using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace Operater.DbModel
|
{
|
/// <summary>
|
///
|
/// </summary>
|
|
[SugarTable("ali_orderinfo")]
|
public class AliOrderinfo
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AliOrderinfo()
|
{
|
}
|
|
/// <summary>
|
/// 子订单id
|
/// </summary>
|
[SugarColumn(ColumnName = "oid", IsPrimaryKey = true)]
|
public System.String Oid { get; set; }
|
|
/// <summary>
|
/// 主订单id
|
/// </summary>
|
[SugarColumn(ColumnName = "tid", IsPrimaryKey = true)]
|
public System.String Tid { get; set; }
|
|
/// <summary>
|
/// 实付金额,单位为元
|
/// </summary>
|
[SugarColumn(ColumnName = "item_amount")]
|
public System.Decimal? ItemAmount { get; set; }
|
|
/// <summary>
|
/// 商品名称
|
/// </summary>
|
[SugarColumn(ColumnName = "name")]
|
public System.String Name { get; set; }
|
|
/// <summary>
|
/// 原始单价,以元为单位
|
/// </summary>
|
[SugarColumn(ColumnName = "price")]
|
public System.Decimal? Price { get; set; }
|
|
/// <summary>
|
/// 产品ID(非在线产品为空)
|
/// </summary>
|
[SugarColumn(ColumnName = "product_id")]
|
public System.String ProductId { get; set; }
|
|
/// <summary>
|
/// 商品图片url
|
/// </summary>
|
[SugarColumn(ColumnName = "product_img_url")]
|
public System.String ProductImgUrl { get; set; }
|
|
/// <summary>
|
/// 产品快照url,交易订单产生时会自动记录下当时的商品快照,供后续纠纷时参考
|
/// </summary>
|
[SugarColumn(ColumnName = "product_snapshot_url")]
|
public System.String ProductSnapshotUrl { get; set; }
|
|
/// <summary>
|
/// 以unit为单位的数量,例如多少个、多少件、多少箱、多少吨
|
/// </summary>
|
[SugarColumn(ColumnName = "quantity")]
|
public System.Decimal? Quantity { get; set; }
|
|
/// <summary>
|
/// 退款金额,单位为元
|
/// </summary>
|
[SugarColumn(ColumnName = "refund")]
|
public System.Decimal? Refund { get; set; }
|
|
/// <summary>
|
/// skuID
|
/// </summary>
|
[SugarColumn(ColumnName = "sku_id")]
|
public System.String SkuId { get; set; }
|
|
/// <summary>
|
/// 子订单状态
|
/// </summary>
|
[SugarColumn(ColumnName = "order_status")]
|
public System.String OrderStatus { get; set; }
|
|
/// <summary>
|
/// 售卖单位 例如:个、件、箱、吨
|
/// </summary>
|
[SugarColumn(ColumnName = "unit")]
|
public System.String Unit { get; set; }
|
|
/// <summary>
|
/// 重量 按重量单位计算的重量,例如:100
|
/// </summary>
|
[SugarColumn(ColumnName = "weight")]
|
public System.String Weight { get; set; }
|
|
/// <summary>
|
/// 重量单位 例如:g,kg,t
|
/// </summary>
|
[SugarColumn(ColumnName = "weight_unit")]
|
public System.String WeightUnit { get; set; }
|
|
/// <summary>
|
/// 订单明细涨价或降价的金额
|
/// </summary>
|
[SugarColumn(ColumnName = "entry_discount")]
|
public System.Decimal? EntryDiscount { get; set; }
|
|
/// <summary>
|
/// 订单销售属性ID
|
/// </summary>
|
[SugarColumn(ColumnName = "specId")]
|
public System.String SpecId { get; set; }
|
|
/// <summary>
|
/// 子订单状态描述
|
/// </summary>
|
[SugarColumn(ColumnName = "status_str")]
|
public System.String StatusStr { get; set; }
|
|
/// <summary>
|
/// WAIT_SELLER_AGREE 等待卖家同意 REFUND_SUCCESS 退款成功 REFUND_CLOSED 退款关闭 WAIT_BUYER_MODIFY 待买家修改 WAIT_BUYER_SEND 等待买家退货 WAIT_SELLER_RECEIVE 等待卖家确认收货
|
/// </summary>
|
[SugarColumn(ColumnName = "refund_status")]
|
public System.String RefundStatus { get; set; }
|
|
/// <summary>
|
/// 关闭原因
|
/// </summary>
|
[SugarColumn(ColumnName = "close_reason")]
|
public System.String CloseReason { get; set; }
|
|
/// <summary>
|
/// 1 未发货 2 已发货 3 已收货 4 已经退货 5 部分发货 8 还未创建物流订单
|
/// </summary>
|
[SugarColumn(ColumnName = "logistics_status")]
|
public System.Int32? LogisticsStatus { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
[SugarColumn(ColumnName = "gmt_create")]
|
public System.DateTime? GmtCreate { get; set; }
|
|
/// <summary>
|
/// 修改时间
|
/// </summary>
|
[SugarColumn(ColumnName = "gmt_modified")]
|
public System.DateTime? GmtModified { get; set; }
|
|
/// <summary>
|
/// 明细完成时间
|
/// </summary>
|
[SugarColumn(ColumnName = "gmt_completed")]
|
public System.DateTime? GmtCompleted { get; set; }
|
|
/// <summary>
|
/// 售中退款单号
|
/// </summary>
|
[SugarColumn(ColumnName = "refund_id")]
|
public System.String RefundId { get; set; }
|
|
/// <summary>
|
/// 售后退款单号
|
/// </summary>
|
[SugarColumn(ColumnName = "refund_id_foras")]
|
public System.String RefundIdForas { get; set; }
|
|
/// <summary>
|
/// sku具体信息,json格式
|
/// </summary>
|
[SugarColumn(ColumnName = "skuinfos")]
|
public System.String Skuinfos { get; set; }
|
}
|
}
|