You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
183 lines
5.1 KiB
183 lines
5.1 KiB
using FreeSql.DataAnnotations;
|
|
using System;
|
|
|
|
namespace BBWY.Server.Model.Db
|
|
{
|
|
|
|
[Table(Name = "aftersaleorder", DisableSyncStructure = true)]
|
|
public partial class AfterSaleOrder
|
|
{
|
|
|
|
[Column(IsPrimary = true)]
|
|
public long Id { get; set; }
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 申请时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? ApplyTime { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string OrderId { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string ProductId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品处理结果
|
|
/// </summary>
|
|
[Column(DbType = "int(255)", MapType = typeof(int?))]
|
|
public Enums.ProductResult? ProductResult { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退款金额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? RefundAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退款时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? RefundTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 售后补发成本
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal ReissueAfterSaleAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 补发运费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? ReissueFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 补发货款
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? ReissueProductAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 服务单处理结果
|
|
/// </summary>
|
|
[Column(DbType = "int(1)", MapType = typeof(int?))]
|
|
public Enums.ServiceResult? ServiceResult { get; set; }
|
|
|
|
public long? ShopId { get; set; }
|
|
|
|
[Column(StringLength = 50)]
|
|
public string SkuId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务单号
|
|
/// </summary>
|
|
[Column(StringLength = 20)]
|
|
public string ServiceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退货入仓操作费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? RefundInStorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退款采购成本
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? RefundPurchaseAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 耗材费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? ConsumableAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 发货快递费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? DeliveryExpressFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 头程费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? FirstFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 入仓操作费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? InStorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 出仓操作费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal? OutStorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 商品情况
|
|
/// </summary>
|
|
[Column(DbType = "int(1)", MapType = typeof(int?))]
|
|
public Enums.ProductHealth? ProductHealth { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务单的售后成本(不含退款采购成本)
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal AfterTotalCost { get; set; } = 0.0M;
|
|
|
|
/// <summary>
|
|
/// 仓储费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal StorageAmount { get; set; } = 0.0M;
|
|
|
|
/// <summary>
|
|
/// SD退货运费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,2)")]
|
|
public decimal SDRefundFreight { get; set; } = 0.00M;
|
|
/// <summary>
|
|
/// 退款商户订单号
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string RefundMerchantOrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退款支付宝订单号
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string RefundAlipayOrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购方式
|
|
/// </summary>
|
|
[Column(DbType = "int(1)", MapType = typeof(int?))]
|
|
public Enums.PurchaseMethod? PurchaseMethod { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购平台
|
|
/// </summary>
|
|
[Column(DbType = "int(1)", MapType = (typeof(int?)))]
|
|
public Enums.Platform? PurchasePlatform { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购单号
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string PurchaseOrderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购单主键
|
|
/// </summary>
|
|
public long? PurchaseOrderPKId { get; set; }
|
|
}
|
|
|
|
}
|
|
|