using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace Operater.DbModel
{
///
///
///
[SugarTable("ali_tradeinfo")]
public class AliTradeinfo
{
///
///
///
public AliTradeinfo()
{
}
///
/// 主订单id
///
[SugarColumn(ColumnName = "tid", IsPrimaryKey = true)]
public System.String Tid { get; set; }
///
/// 付款时间,如果有多次付款,这里返回的是首次付款时间
///
[SugarColumn(ColumnName = "pay_time")]
public System.DateTime? PayTime { get; set; }
///
/// 完全发货时间
///
[SugarColumn(ColumnName = "all_delivered_time")]
public System.DateTime? AllDeliveredTime { get; set; }
///
/// 折扣信息
///
[SugarColumn(ColumnName = "discount")]
public System.Decimal? Discount { get; set; }
///
/// 外部支付交易Id
///
[SugarColumn(ColumnName = "alipay_trade_id")]
public System.String AlipayTradeId { get; set; }
///
/// 产品总金额(该订单产品明细表中的产品金额的和)
///
[SugarColumn(ColumnName = "sum_product_payment")]
public System.Decimal? SumProductPayment { get; set; }
///
/// 买家留言,不超过500字
///
[SugarColumn(ColumnName = "buyer_feedback")]
public System.String BuyerFeedback { get; set; }
///
/// 买家loginId,旺旺Id
///
[SugarColumn(ColumnName = "buyer_login_id")]
public System.String BuyerLoginId { get; set; }
///
/// 修改时间
///
[SugarColumn(ColumnName = "modify_time")]
public System.DateTime? ModifyTime { get; set; }
///
/// 关闭原因。buyerCancel:买家取消订单,sellerGoodsLack:卖家库存不足,other:其它
///
[SugarColumn(ColumnName = "close_reason")]
public System.String CloseReason { get; set; }
///
/// 卖家支付宝id
///
[SugarColumn(ColumnName = "seller_alipay_id")]
public System.String SellerAlipayId { get; set; }
///
/// 完成时间
///
[SugarColumn(ColumnName = "complete_time")]
public System.DateTime? CompleteTime { get; set; }
///
/// 卖家oginId,旺旺Id
///
[SugarColumn(ColumnName = "seller_loginid")]
public System.String SellerLoginid { get; set; }
///
/// 买家主账号id
///
[SugarColumn(ColumnName = "buyer_id")]
public System.String BuyerId { get; set; }
///
/// 关闭订单操作类型。CLOSE_TRADE_BY_SELLER:卖家关闭交易,CLOSE_TRADE_BY_BOPS:BOPS后台关闭交易,CLOSE_TRADE_BY_SYSTEM:系统(超时)关闭交易,CLOSE_TRADE_BY_BUYER:买家关闭交易,CLOSE_TRADE_BY_CREADIT:诚信保障投诉关闭
///
[SugarColumn(ColumnName = "close_operate_type")]
public System.String CloseOperateType { get; set; }
///
/// 应付款总金额,totalAmount = ∑itemAmount + shippingFee,单位为元
///
[SugarColumn(ColumnName = "total_amount")]
public System.Decimal? TotalAmount { get; set; }
///
/// 卖家主账号id
///
[SugarColumn(ColumnName = "seller_id")]
public System.String SellerId { get; set; }
///
/// 运费,单位为元
///
[SugarColumn(ColumnName = "shipping_fee")]
public System.Decimal? ShippingFee { get; set; }
///
/// 买家数字id
///
[SugarColumn(ColumnName = "buyer_userid")]
public System.String BuyerUserid { get; set; }
///
/// 买家备忘信息
///
[SugarColumn(ColumnName = "buyer_memo")]
public System.String BuyerMemo { get; set; }
///
/// 退款金额
///
[SugarColumn(ColumnName = "refund")]
public System.Decimal? Refund { get; set; }
///
/// 交易状态,waitbuyerpay:等待买家付款;waitsellersend:等待卖家发货;waitbuyerreceive:等待买家收货;confirm_goods:已收货;success:交易成功;cancel:交易取消;terminated:交易终止;未枚举:其他状态
///
[SugarColumn(ColumnName = "trade_status")]
public System.String TradeStatus { get; set; }
///
/// 退款金额
///
[SugarColumn(ColumnName = "refund_payment")]
public System.Decimal? RefundPayment { get; set; }
///
/// 红包金额
///
[SugarColumn(ColumnName = "coupon_fee")]
public System.Decimal? CouponFee { get; set; }
///
/// 订单的售中退款状态,等待卖家同意:waitselleragree ,待买家修改:waitbuyermodify,等待买家退货:waitbuyersend,等待卖家确认收货:waitsellerreceive,退款成功:refundsuccess,退款失败:refundclose
///
[SugarColumn(ColumnName = "refund_status")]
public System.String RefundStatus { get; set; }
///
/// 备注,1688指下单时的备注
///
[SugarColumn(ColumnName = "remark")]
public System.String Remark { get; set; }
///
/// 关闭订单备注
///
[SugarColumn(ColumnName = "close_remark")]
public System.String CloseRemark { get; set; }
///
/// 收货时间,这里返回的是完全收货时间
///
[SugarColumn(ColumnName = "receiving_time")]
public System.DateTime? ReceivingTime { get; set; }
///
/// 卖家数字id
///
[SugarColumn(ColumnName = "seller_userid")]
public System.String SellerUserid { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public System.DateTime? CreateTime { get; set; }
///
/// 退款单ID
///
[SugarColumn(ColumnName = "refund_id")]
public System.String RefundId { get; set; }
///
/// 联系人姓名
///
[SugarColumn(ColumnName = "contact_person")]
public System.String ContactPerson { get; set; }
///
/// 省份
///
[SugarColumn(ColumnName = "province")]
public System.String Province { get; set; }
///
/// 城市
///
[SugarColumn(ColumnName = "city")]
public System.String City { get; set; }
///
/// 县,区
///
[SugarColumn(ColumnName = "area")]
public System.String Area { get; set; }
///
/// 详细地址
///
[SugarColumn(ColumnName = "address")]
public System.String Address { get; set; }
///
/// 手机
///
[SugarColumn(ColumnName = "mobile")]
public System.String Mobile { get; set; }
///
/// 镇,街道
///
[SugarColumn(ColumnName = "town")]
public System.String Town { get; set; }
///
/// 有赞订单发货状态 0未发货,1已发货 2部分发货
///
[SugarColumn(ColumnName = "yz_sendgoods_status")]
public System.Int32 YzSendgoodsStatus { get; set; }
}
}