You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

310 lines
11 KiB
C#

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