using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Entity { /// /// 业务派车信息 /// [SqlSugar.SugarTable("op_business_truck", "业务派车信息")] public class BusinessTruck : BaseOrgModel { /// /// 业务Id /// [SqlSugar.SugarColumn(ColumnDescription = "业务Id", IsNullable = false)] public long BusinessId { get; set; } /// /// 车队Id /// [SqlSugar.SugarColumn(ColumnDescription = "车队Id", IsNullable = true)] public Nullable TruckId { get; set; } /// /// 车队代码 /// [SqlSugar.SugarColumn(ColumnDescription = "车队代码", IsNullable = true, Length = 100)] public string TruckCode { get; set; } /// /// 车队名称 /// [SqlSugar.SugarColumn(ColumnDescription = "车队名称", IsNullable = true, Length = 100)] public string TruckName { get; set; } /// /// 通知人 /// [SugarColumn(ColumnDescription = "通知人", IsNullable = true, Length = 60)] public string ToName { get; set; } /// /// 联系人 /// [SugarColumn(ColumnDescription = "联系人", IsNullable = true, Length = 30)] public string ToAttn { get; set; } /// /// ATTN电话 /// [SugarColumn(ColumnDescription = "ATTN电话", IsNullable = true, Length = 30)] public string ToAttnTel { get; set; } /// /// ATTN传真 /// [SugarColumn(ColumnDescription = "ATTN传真", IsNullable = true, Length = 30)] public string ToAttnFax { get; set; } /// /// ATTN邮箱 /// [SugarColumn(ColumnDescription = "ATTN邮箱", IsNullable = true, Length = 30)] public string ToAttnEmail { get; set; } /// /// 通知人 /// [SugarColumn(ColumnDescription = "通知人", IsNullable = true, Length = 60)] public string FromName { get; set; } /// /// FROM电话 /// [SugarColumn(ColumnDescription = "FROM电话", IsNullable = true, Length = 100)] public string FromTel { get; set; } /// /// FROM手机号 /// [SugarColumn(ColumnDescription = "FROM手机号", IsNullable = true, Length = 100)] public string FromMobile { get; set; } /// /// FROM传真 /// [SugarColumn(ColumnDescription = "FROM传真", IsNullable = true, Length = 100)] public string FromFax { get; set; } /// /// FROM邮箱 /// [SugarColumn(ColumnDescription = "FROM邮箱", IsNullable = true, Length = 100)] public string FromEmail { get; set; } /// /// 陆运费 /// [SugarColumn(ColumnDescription = "陆运费", IsNullable = true, Length = 18, DecimalDigits = 3, DefaultValue = "0")] public decimal? TruckFee { get; set; } /// /// 吨数 /// [SugarColumn(ColumnDescription = "吨数", IsNullable = true, DefaultValue = "0")] public decimal KGS { get; set; } /// /// 结算方式 /// [SugarColumn(ColumnDescription = "结算方式", IsNullable = true, Length = 20)] public string PayType { get; set; } /// /// 结算方式名称 /// [SugarColumn(ColumnDescription = "结算方式名称", IsNullable = true, Length = 50)] public string PayTypeName { get; set; } /// /// 派车日期 /// [SugarColumn(ColumnDescription = "派车日期", IsNullable = true)] public DateTime? TruckDate { get; set; } /// /// 箱型箱量 /// [SugarColumn(ColumnDescription = "箱型箱量", IsNullable = true, Length = 60)] public string CntrTotal { get; set; } /// /// 提箱场站Id /// [SugarColumn(ColumnDescription = "YardId", IsNullable = true, DefaultValue = "0")] public long YardId { get; set; } /// /// 场站代码 /// [SugarColumn(ColumnDescription = "场站代码", IsNullable = true, Length = 100)] public string YardCode { get; set; } /// /// 场站名称 /// [SugarColumn(ColumnDescription = "场站名称", IsNullable = true, Length = 100)] public string YardName { get; set; } /// /// 场站联系人 /// [SugarColumn(ColumnDescription = "场站联系人", IsNullable = true, Length = 200)] public string YardAttn { get; set; } /// /// 场站电话 /// [SugarColumn(ColumnDescription = "场站电话", IsNullable = true, Length = 100)] public string YardTel { get; set; } /// /// 工厂Id /// [SugarColumn(ColumnDescription = "工厂Id", IsNullable = true, DefaultValue = "0")] public long FactoryId { get; set; } /// /// 工厂代码 /// [SugarColumn(ColumnDescription = "工厂代码", IsNullable = true, Length = 100)] public string FactoryCode { get; set; } /// /// 工厂名称 /// [SugarColumn(ColumnDescription = "工厂名称", IsNullable = true, Length = 100)] public string FactoryName { get; set; } /// /// 工厂联系人 /// [SugarColumn(ColumnDescription = "工厂联系人", IsNullable = true, Length = 50)] public string FactoryAttn { get; set; } /// /// 工厂电话 /// [SugarColumn(ColumnDescription = "工厂电话", IsNullable = true, Length = 20)] public string FactoryTel { get; set; } /// /// 工厂地址 /// [SugarColumn(ColumnDescription = "工厂地址", IsNullable = true, Length = 200)] public string FactoryAddress { get; set; } /// /// 要求到厂时间 /// [SugarColumn(ColumnDescription = "要求到厂时间", IsNullable = true, Length = 60)] public string FactoryTime { get; set; } /// ///入货场站Id /// [SugarColumn(ColumnDescription = "入货场站Id", IsNullable = true, DefaultValue = "0")] public long InYardId { get; set; } /// /// 入货场站代码 /// [SugarColumn(ColumnDescription = "入货场站代码", IsNullable = true, Length = 100)] public string InYardCode { get; set; } /// ///入货场站 /// [SugarColumn(ColumnDescription = "入货场站", IsNullable = true, Length = 100)] public long InYardName { get; set; } /// /// 入货场站联系人 /// [SugarColumn(ColumnDescription = "入货场站联系人", IsNullable = true, Length = 50)] public string InYardAttn { get; set; } /// /// 入货场站联系人电话 /// [SugarColumn(ColumnDescription = "入货场站电话", IsNullable = true, Length = 20)] public string InYardTel { get; set; } /// ///返箱场站 /// [SugarColumn(ColumnDescription = "返箱场站Id", IsNullable = true, DefaultValue = "0")] public long ReturnYardId { get; set; } /// /// 返箱场站代码 /// [SugarColumn(ColumnDescription = "返箱场站代码", IsNullable = true, Length = 100)] public string ReturnYardCode { get; set; } /// /// 返箱场站 /// [SugarColumn(ColumnDescription = "返箱场站", IsNullable = true, Length = 100)] public long ReturnYardName { get; set; } /// /// 返箱地址 /// [SugarColumn(ColumnDescription = "返箱地址", IsNullable = true, Length = 200)] public string? ReturnAddress { get; set; } /// /// 返箱电话 /// [SugarColumn(ColumnDescription = "返箱电话", IsNullable = true, Length = 100)] public string ReturnTel { get; set; } /// /// 返箱联系人 /// [SugarColumn(ColumnDescription = "返箱联系人")] public long ReturnATTN { get; set; } /// /// 返厂时间 /// [SugarColumn(ColumnDescription = "返厂时间", IsNullable = true, Length = 60)] public string? ReturnYardTime { get; set; } /// /// 截港日期 /// [SugarColumn(ColumnDescription = "截港日期", IsNullable = true)] public DateTime? ClosingDate { get; set; } /// /// 提货日期 /// [SugarColumn(ColumnDescription = "提货日期", IsNullable = true)] public DateTime PickUpTime { get; set; } /// /// 备注 /// [SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 100)] public string Remark { get; set; } /// /// 注意事项 /// [SugarColumn(ColumnDescription = "注意事项", IsNullable = true, Length = 100)] public string TruckDetail { get; set; } /// /// 派车状态 /// [SugarColumn(ColumnDescription = "派车状态", IsNullable = true, Length = 50)] public string TruckStatus { get; set; } /// /// 调度人员Id /// [SugarColumn(ColumnDescription = "调度人员Id", IsNullable = true, DefaultValue = "0")] public Nullable DispatcherId { get; set; } /// /// 调度人员名称 /// [SugarColumn(ColumnDescription = "调度人员名称", IsNullable = true, Length = 100)] public string DispatcherName { get; set; } /// /// Desc:是否挂机 /// [SugarColumn(ColumnDescription = "是否挂机", IsNullable = true, DefaultValue = "0")] public bool? IsOnHook { get; set; } = false; } }