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.
470 lines
15 KiB
C#
470 lines
15 KiB
C#
8 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using SqlSugar;
|
||
|
using System.ComponentModel;
|
||
|
using Myshipping.Core.Entity;
|
||
|
|
||
|
/*
|
||
|
* @author : whm
|
||
|
* @date : 2024-4-1
|
||
|
* @desc : 订舱模板
|
||
|
*/
|
||
|
namespace Myshipping.Application.Entity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 订舱模板
|
||
|
/// </summary>
|
||
|
[SugarTable("booking_so_template", TableDescription = "订舱模板")]
|
||
|
public class BookingSoTemplate : DBEntityTenant
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 客户代码
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "CustCode")]
|
||
|
[Description("客户代码")]
|
||
|
public string CustCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 客户名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "CustName")]
|
||
|
[Description("客户名称")]
|
||
|
public string CustName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户ID
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "UserId")]
|
||
|
[Description("用户ID")]
|
||
|
public long UserId{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户代码
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "UserCode")]
|
||
|
[Description("用户代码")]
|
||
|
public string UserCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "UserName")]
|
||
|
[Description("用户名称")]
|
||
|
public string UserName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 模板名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "TemplateName")]
|
||
|
[Description("模板名称")]
|
||
|
public string TemplateName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 船司ID
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "CarrierId")]
|
||
|
[Description("船司ID")]
|
||
|
public string CarrierId{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 船司名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "Carrier")]
|
||
|
[Description("船司名称")]
|
||
|
public string Carrier{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 启用标志
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "IsEnable")]
|
||
|
[Description("启用标志")]
|
||
|
public bool IsEnable { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 优先级
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "Priority")]
|
||
|
[Description("优先级")]
|
||
|
public string Priority{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperName")]
|
||
|
[Description("发货人名称")]
|
||
|
public string ShipperName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人地址
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperAddress")]
|
||
|
[Description("发货人地址")]
|
||
|
public string ShipperAddress{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人国家
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperCountry")]
|
||
|
[Description("发货人国家")]
|
||
|
public string ShipperCountry{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人省份
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperProvince")]
|
||
|
[Description("发货人省份")]
|
||
|
public string ShipperProvince{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人城市
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperCity")]
|
||
|
[Description("发货人城市")]
|
||
|
public string ShipperCity{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人区县
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperCounty")]
|
||
|
[Description("发货人区县")]
|
||
|
public string ShipperCounty{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人邮政编码
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperPostCode")]
|
||
|
[Description("发货人邮政编码")]
|
||
|
public string ShipperPostCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人联系人名
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperFirstName")]
|
||
|
[Description("发货人联系人名")]
|
||
|
public string ShipperFirstName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人联系人姓
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperLastName")]
|
||
|
[Description("发货人联系人姓")]
|
||
|
public string ShipperLastName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人电话区号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperPhoneCode")]
|
||
|
[Description("发货人电话区号")]
|
||
|
public string ShipperPhoneCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人电话
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperPhone")]
|
||
|
[Description("发货人电话")]
|
||
|
public string ShipperPhone{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 发货人分机号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ShipperPhoneExtension")]
|
||
|
[Description("发货人分机号")]
|
||
|
public string ShipperPhoneExtension{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeName")]
|
||
|
[Description("收货人名称")]
|
||
|
public string ConsigneeName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人地址
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeAddress")]
|
||
|
[Description("收货人地址")]
|
||
|
public string ConsigneeAddress{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人国家
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeCountry")]
|
||
|
[Description("收货人国家")]
|
||
|
public string ConsigneeCountry{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人省份
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeProvince")]
|
||
|
[Description("收货人省份")]
|
||
|
public string ConsigneeProvince{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人城市
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeCity")]
|
||
|
[Description("收货人城市")]
|
||
|
public string ConsigneeCity{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人区县
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeCounty")]
|
||
|
[Description("收货人区县")]
|
||
|
public string ConsigneeCounty{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人邮政编码
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneePostCode")]
|
||
|
[Description("收货人邮政编码")]
|
||
|
public string ConsigneePostCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人联系人名
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeFirstName")]
|
||
|
[Description("收货人联系人名")]
|
||
|
public string ConsigneeFirstName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人联系人姓
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneeLastName")]
|
||
|
[Description("收货人联系人姓")]
|
||
|
public string ConsigneeLastName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人电话区号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneePhoneCode")]
|
||
|
[Description("收货人电话区号")]
|
||
|
public string ConsigneePhoneCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人电话
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneePhone")]
|
||
|
[Description("收货人电话")]
|
||
|
public string ConsigneePhone{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 收货人分机号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "ConsigneePhoneExtension")]
|
||
|
[Description("收货人分机号")]
|
||
|
public string ConsigneePhoneExtension{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartName")]
|
||
|
[Description("通知人名称")]
|
||
|
public string NotifypartName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人地址
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartAddress")]
|
||
|
[Description("通知人地址")]
|
||
|
public string NotifypartAddress{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人国家
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartCountry")]
|
||
|
[Description("通知人国家")]
|
||
|
public string NotifypartCountry{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人省份
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartProvince")]
|
||
|
[Description("通知人省份")]
|
||
|
public string NotifypartProvince{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人城市
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartCity")]
|
||
|
[Description("通知人城市")]
|
||
|
public string NotifypartCity{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人区县
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartCounty")]
|
||
|
[Description("通知人区县")]
|
||
|
public string NotifypartCounty{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人邮政编码
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartPostCode")]
|
||
|
[Description("通知人邮政编码")]
|
||
|
public string NotifypartPostCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人联系人名
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartFirstName")]
|
||
|
[Description("通知人联系人名")]
|
||
|
public string NotifypartFirstName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人联系人姓
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartLastName")]
|
||
|
[Description("通知人联系人姓")]
|
||
|
public string NotifypartLastName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人电话区号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartPhoneCode")]
|
||
|
[Description("通知人电话区号")]
|
||
|
public string NotifypartPhoneCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人电话
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartPhone")]
|
||
|
[Description("通知人电话")]
|
||
|
public string NotifypartPhone{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 通知人分机号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifypartPhoneExtension")]
|
||
|
[Description("通知人分机号")]
|
||
|
public string NotifypartPhoneExtension{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingName")]
|
||
|
[Description("订舱公司名称")]
|
||
|
public string BookingName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司地址
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingAddress")]
|
||
|
[Description("订舱公司地址")]
|
||
|
public string BookingAddress{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司国家
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingCountry")]
|
||
|
[Description("订舱公司国家")]
|
||
|
public string BookingCountry{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司省份
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingProvince")]
|
||
|
[Description("订舱公司省份")]
|
||
|
public string BookingProvince{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司城市
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingCity")]
|
||
|
[Description("订舱公司城市")]
|
||
|
public string BookingCity{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司区县
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingCounty")]
|
||
|
[Description("订舱公司区县")]
|
||
|
public string BookingCounty{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司邮政编码
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingPostCode")]
|
||
|
[Description("订舱公司邮政编码")]
|
||
|
public string BookingPostCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司联系人名
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingFirstName")]
|
||
|
[Description("订舱公司联系人名")]
|
||
|
public string BookingFirstName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司联系人姓
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingLastName")]
|
||
|
[Description("订舱公司联系人姓")]
|
||
|
public string BookingLastName{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司电话区号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingPhoneCode")]
|
||
|
[Description("订舱公司电话区号")]
|
||
|
public string BookingPhoneCode{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司电话
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingPhone")]
|
||
|
[Description("订舱公司电话")]
|
||
|
public string BookingPhone{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱公司分机号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BookingPhoneExtension")]
|
||
|
[Description("订舱公司分机号")]
|
||
|
public string BookingPhoneExtension{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 品名货描
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "Description")]
|
||
|
[Description("品名货描")]
|
||
|
public string Description{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订舱备注
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "SoRemark")]
|
||
|
[Description("订舱备注")]
|
||
|
public string SoRemark{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 下一步通知
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "NotifyNext")]
|
||
|
[Description("下一步通知")]
|
||
|
public bool NotifyNext{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 拖车公司
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "TruckCompany")]
|
||
|
[Description("拖车公司")]
|
||
|
public string TruckCompany{ get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// BC接收邮箱
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "BcReceiveEmail")]
|
||
|
[Description("BC接收邮箱")]
|
||
|
public string BcReceiveEmail{ get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 租户名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnName = "TenantName")]
|
||
|
[Description("租户名称")]
|
||
|
public string TenantName{ get; set; }
|
||
|
|
||
|
}
|
||
|
}
|