using FreeSql.DataAnnotations; using System; using System.Collections.Generic; namespace BBWY.Server.Model.Dto { public class ServiceOrderItemResponse { public long Id { get; set; } /// /// 售后成本(不含退款采购成本) /// public decimal? AfterTotalCost { get; set; } = 0.00M; /// /// 申请时间 /// public DateTime? ApplyTime { get; set; } /// /// 耗材费 /// public decimal? ConsumableAmount { get; set; } = 0.00M; public DateTime? CreateTime { get; set; } /// /// 发货快递费 /// public decimal? DeliveryExpressFreight { get; set; } = 0.00M; /// /// 头程费 /// public decimal? FirstFreight { get; set; } = 0.00M; /// /// 退货拍摄图(名称) /// public string ImageName { get; set; } /// /// 入仓操作费 /// public decimal? InStorageAmount { get; set; } = 0.00M; /// /// 是否订阅快递100 /// public bool? IsSubscribeKuaiDi100 { get; set; } /// /// 是否需要订阅快递100 /// public bool? IsNeedSubscribeKuaiDi100 { get; set; } public string OrderId { get; set; } /// /// 出仓操作费 /// public decimal? OutStorageAmount { get; set; } = 0.00M; /// /// 产品外观 (严重损=0 轻微损=1 新=2) /// public Enums.ProductAppearance? ProductAppearance { get; set; } /// /// 产品功能 (坏=0 好=1) /// public Enums.ProductFunction? ProductFunction { get; set; } /// /// 商品健康状态 (残次品=0 良品=1) /// public Enums.NewProductHealth? ProductHealth { get; set; } public string ProductId { get; set; } /// /// 产品包装(无=0 非新=1 新=2) /// public Enums.ProductPackage? ProductPackage { get; set; } /// /// 采购方式 /// public Enums.PurchaseMethod? PurchaseMethod { get; set; } /// /// 采购单号 /// public string PurchaseOrderId { get; set; } /// /// 采购单主键 /// public long? PurchaseOrderPKId { get; set; } /// /// 采购平台 /// public Enums.Platform? PurchasePlatform { get; set; } /// /// 退款支付宝订单号 /// public string RefundAlipayOrderNo { get; set; } /// /// 退款金额 /// public decimal? RefundAmount { get; set; } = 0.00M; /// /// 退货入仓操作费 /// public decimal? RefundInStorageAmount { get; set; } = 0.00M; /// /// 退款商户订单号 /// public string RefundMerchantOrderNo { get; set; } /// /// 退款采购成本 /// public decimal? RefundPurchaseAmount { get; set; } = 0.00M; /// /// 退款时间 /// public DateTime? RefundTime { get; set; } /// /// 售后补发成本 /// public decimal? ReissueAfterSaleAmount { get; set; } = 0.00M; /// /// 补发快递费 /// public decimal? ReissueFreight { get; set; } = 0.00M; /// /// 补发货款成本 /// public decimal? ReissueProductAmount { get; set; } = 0.00M; /// /// 退货去向(退货仓=0,采购商=1,原返=2,无退货=3) /// public Enums.ReturnDirection? ReturnDirection { get; set; } /// /// SD退货运费 /// public decimal? SDRefundFreight { get; set; } = 0.00M; /// /// 服务单号 /// public string ServiceId { get; set; } /// /// 服务单租备注 /// public string ServiceOrderRemark { get; set; } /// /// 服务单处理结果 /// public Enums.ServiceResult? ServiceResult { get; set; } public string ShopId { get; set; } public string SkuId { get; set; } /// /// SKU销售件数 /// public int? SkuItemCount { get; set; } /// /// 服务单状态 待收货 = 10005,取消 = 10011,完成 = 10010 /// public Enums.ServiceOrderState? Status { get; set; } /// /// 变更时间 /// public DateTime? StatusUpdateTime { get; set; } /// /// 仓储费 /// public decimal? StorageAmount { get; set; } = 0.00M; /// /// 服务单物流状态(0=待质检,1=已入库,2=派送中,3=运输中) /// public Enums.TransportState? TransportDetails { get; set; } /// /// 仓库组备注 /// public string WareHouseGrounpRemark { get; set; } /// /// 快递单号 /// public string WayBillNo { get; set; } /// /// 快递公司名称 /// public string ExpressName { get; set; } /// /// 质检入库时间 /// public DateTime? QualityInspectionInStoreTime { get; set; } /// /// 换新单号 /// public string RenewalOrderId { get; set; } /// /// 退货检查备注 /// public string ReturnCheckRemark { get; set; } /// /// 线下换新方式 /// public Enums.StorageType? RenewalType { get; set; } /// /// 线下换新采购单号 /// public string RenewalPurchaseOrderId { get; set; } /// /// 线下换新采购平台 /// public Enums.Platform? RenewalPurchasePlatform { get; set; } #region Sku public string Logo { get; set; } public string Title { get; set; } //public string ContactName { get; set; } //public string Mobile { get; set; } public int ItemTotal { get; set; } public decimal Price { get; set; } #endregion #region Order public Enums.StorageType? StorageType { get; set; } #endregion } public class ServiceOrderResponse { public IList Items { get; set; } public long Count { get; set; } } }