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.
284 lines
7.0 KiB
284 lines
7.0 KiB
using FreeSql.DatabaseModel;using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Threading.Tasks;
|
|
using Newtonsoft.Json;
|
|
using FreeSql.DataAnnotations;
|
|
|
|
namespace BBWY.Server.Model.Db {
|
|
|
|
/// <summary>
|
|
/// 服务单表(new)
|
|
/// </summary>
|
|
[JsonObject(MemberSerialization.OptIn), Table(Name = "serviceorder", DisableSyncStructure = true)]
|
|
public partial class ServiceOrder {
|
|
|
|
[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 售后成本(不含退款采购成本)
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? AfterTotalCost { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 申请时间
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "datetime")]
|
|
public DateTime? ApplyTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 耗材费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? ConsumableAmount { get; set; } = 0.00M;
|
|
|
|
[JsonProperty, Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发货快递费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? DeliveryExpressFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 快递公司名称
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string ExpressName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 头程费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? FirstFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退货拍摄图(名称)
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 1000)]
|
|
public string ImageName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 入仓操作费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? InStorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 是否订阅快递100
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public bool? IsSubscribeKuaiDi100 { get; set; }
|
|
|
|
[JsonProperty, Column(StringLength = 50)]
|
|
public string OrderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 出仓操作费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? OutStorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 产品外观 (严重损=0 轻微损=1 新=2)
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ProductAppearance { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品功能 (坏=0 好=1)
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ProductFunction { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品健康状态 (残次品=0 良品=1)
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ProductHealth { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品情况(定义待变更);名称待定,以前的商品情况,叶总需要更换定义
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ProductHealth2 { get; set; }
|
|
|
|
[JsonProperty, Column(StringLength = 50)]
|
|
public string ProductId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品包装(无=0 非新=1 新=2)
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ProductPackage { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品处理方式;弃用
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ProductResult { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购方式
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? PurchaseMethod { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购单号
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string PurchaseOrderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购单主键
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public long? PurchaseOrderPKId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购平台
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? PurchasePlatform { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退款支付宝订单号
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string RefundAlipayOrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退款金额
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(20,2)")]
|
|
public decimal? RefundAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退货入仓操作费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? RefundInStorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退款商户订单号
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string RefundMerchantOrderNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退款采购成本
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? RefundPurchaseAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退款时间
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "datetime")]
|
|
public DateTime? RefundTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 售后补发成本
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(20,2)")]
|
|
public decimal? ReissueAfterSaleAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 补发快递费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(20,2)")]
|
|
public decimal? ReissueFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 补发货款成本
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(20,2)")]
|
|
public decimal? ReissueProductAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 退货去向(退货仓=0,采购商=1,原返=2,无退货=3)
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ReturnDirection { get; set; }
|
|
|
|
/// <summary>
|
|
/// SD退货运费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? SDRefundFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 服务单号
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 20)]
|
|
public string ServiceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务单租备注
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string ServiceOrderRemark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务单处理结果
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? ServiceResult { get; set; }
|
|
|
|
[JsonProperty, Column(StringLength = 20)]
|
|
public string ShopId { get; set; }
|
|
|
|
[JsonProperty, Column(StringLength = 50)]
|
|
public string SkuId { get; set; }
|
|
|
|
/// <summary>
|
|
/// SKU销售件数
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? SkuItemCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 服务单状态
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 变更时间
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "datetime")]
|
|
public DateTime? StatusUpdateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 仓储费
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "decimal(18,2)")]
|
|
public decimal? StorageAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 服务单物流状态(0=待入库,1=已入库,2=派送中,3=运输中)
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? TransportDetails { get; set; }
|
|
|
|
/// <summary>
|
|
/// 仓库组备注
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string WareHouseGrounpRemark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退货运单号
|
|
/// </summary>
|
|
[JsonProperty, Column(StringLength = 100)]
|
|
public string WaybillNo { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|