using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Store.Contracts.Order.Entitys;
///
/// 拼多多买手售后单表
///
[Table(Name = "wxxd.order_pdd_buyer_after_sale")]
public class OrderPddBuyerAfterSaleEntity
{
///
/// id
///
[Column(Name = "id", IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 微信订单
///
[Column(Name = "wx_order_id")]
public string WxOrderId { get; set; }
///
/// 微信订单sku
///
[Column(Name = "wx_sku_id")]
public string WxSkuId { get; set; }
///
/// 微信订单发货类型 0 中转仓,1店铺后台直发
///
[Column(Name = "wx_send_type")]
public byte WxSendType { get; set; }
///
/// 中转单创建时间
///
[Column(Name = "TransitCreateTime")]
public DateTime? TransitCreateTime { get; set; }
///
/// 中转仓取号状态
///
[Column(Name = "pre_allocated_order_no")]
public int? PreAllocatedOrderNo { get; set; }
///
/// 买手编号
///
[Column(Name = "buyerId")]
public string BuyerId { get; set; }
///
/// 买手名称
///
[Column(Name = "buyerName")]
public string BuyerName { get; set; }
///
/// 售后单号
///
[Column(Name = "afterSalesId")]
public string AfterSalesId { get; set; }
///
/// 买手单号
///
[Column(Name = "orderSn")]
public string OrderSn { get; set; }
///
/// 拍单订单金额 单位分
///
[Column(Name = "orderAmount")]
public int? OrderAmount { get; set; }
///
/// 售后金额 单位分
///
[Column(Name = "refundAmount")]
public int? RefundAmount { get; set; }
///
/// 拍单日期 yyMMdd
///
[Column(Name = "orderDate")]
public long? OrderDate { get; set; }
///
/// 售后状态
///
[Column(Name = "statusText")]
public string StatusText { get; set; }
///
/// 退货地址
///
[Column(Name = "afterSaleAddress")]
public string AfterSaleAddress { get; set; }
///
/// 买手订单详情
///
[Column(Name = "order_detail")]
public string OrderDetail { get; set; }
///
/// add_time
///
[Column(Name = "add_time")]
public DateTime AddTime { get; set; }
///
/// mdy_time
///
[Column(Name = "mdy_time")]
public DateTime MdyTime { get; set; }
[Column(Name = "remark")]
public string Remark { get; set; }
}