using FreeSql.DataAnnotations; using System; namespace BBWY.Server.Model.Db { /// /// 快递单表 /// [Table(Name = "expressorder", DisableSyncStructure = true)] public partial class ExpressOrder { [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } /// /// 快递公司名称 /// [Column(StringLength = 100)] public string ExpressName { get; set; } /// /// 订单Id /// [Column(StringLength = 100)] public string OrderId { get; set; } /// /// 包裹类型(采购包裹=0 退货包裹=1) /// public int? PackageType { get; set; } /// /// 采购单Id;可空 /// public string PurchaseOrderId { get; set; } /// /// 服务单Id;可空 /// [Column(StringLength = 100)] public string ServiceId { get; set; } /// /// 物流状态(0=待入库,1=已入库,2=派送中,3=运输中) /// public int? TransportStatus { get; set; } [Column(DbType = "datetime")] public DateTime? UpdateTime { get; set; } /// /// 快递单号 /// [Column(StringLength = 100)] public string WayBillNo { get; set; } } }