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