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.

434 lines
10 KiB
C#

using Myshipping.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 订舱模板DTO
/// </summary>
public class BookingSoTemplateDto
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public long? CustId { get; set; }
/// <summary>
/// 客户代码
/// </summary>
public string CustCode { get; set; }
/// <summary>
/// 客户名称
/// </summary>
public string CustName { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 用户代码
/// </summary>
public string UserCode { get; set; }
/// <summary>
/// 用户名称
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 模板名称
/// </summary>
public string TemplateName { get; set; }
/// <summary>
/// 分类
/// </summary>
public string Category { get; set; }
/// <summary>
/// 船司ID
/// </summary>
public string CarrierId { get; set; }
/// <summary>
/// 船司名称
/// </summary>
public string Carrier { get; set; }
/// <summary>
/// 启用标志
/// </summary>
public bool IsEnable { get; set; }
/// <summary>
/// 优先级
/// </summary>
public string Priority { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string ShipperName { get; set; }
/// <summary>
/// 发货人地址
/// </summary>
public string ShipperAddress { get; set; }
/// <summary>
/// 发货人国家
/// </summary>
public string ShipperCountry { get; set; }
/// <summary>
/// 发货人省份
/// </summary>
public string ShipperProvince { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string ShipperCity { get; set; }
/// <summary>
/// 发货人区县
/// </summary>
public string ShipperCounty { get; set; }
/// <summary>
/// 发货人邮政编码
/// </summary>
public string ShipperPostCode { get; set; }
/// <summary>
/// 发货人联系人名
/// </summary>
public string ShipperFirstName { get; set; }
/// <summary>
/// 发货人联系人姓
/// </summary>
public string ShipperLastName { get; set; }
/// <summary>
/// 发货人电话国家代码
/// </summary>
public string ShipperPhoneCountryCode { get; set; }
/// <summary>
/// 发货人电话区号
/// </summary>
public string ShipperPhoneCode { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string ShipperPhone { get; set; }
/// <summary>
/// 发货人分机号
/// </summary>
public string ShipperPhoneExtension { get; set; }
/// <summary>
/// 收货人名称
/// </summary>
public string ConsigneeName { get; set; }
/// <summary>
/// 收货人地址
/// </summary>
public string ConsigneeAddress { get; set; }
/// <summary>
/// 收货人国家
/// </summary>
public string ConsigneeCountry { get; set; }
/// <summary>
/// 收货人省份
/// </summary>
public string ConsigneeProvince { get; set; }
/// <summary>
/// 收货人城市
/// </summary>
public string ConsigneeCity { get; set; }
/// <summary>
/// 收货人区县
/// </summary>
public string ConsigneeCounty { get; set; }
/// <summary>
/// 收货人邮政编码
/// </summary>
public string ConsigneePostCode { get; set; }
/// <summary>
/// 收货人联系人名
/// </summary>
public string ConsigneeFirstName { get; set; }
/// <summary>
/// 收货人联系人姓
/// </summary>
public string ConsigneeLastName { get; set; }
/// <summary>
/// 收货人电话国家代码
/// </summary>
public string ConsigneePhoneCountryCode { get; set; }
/// <summary>
/// 收货人电话区号
/// </summary>
public string ConsigneePhoneCode { get; set; }
/// <summary>
/// 收货人电话
/// </summary>
public string ConsigneePhone { get; set; }
/// <summary>
/// 收货人分机号
/// </summary>
public string ConsigneePhoneExtension { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
public string NotifypartName { get; set; }
/// <summary>
/// 通知人地址
/// </summary>
public string NotifypartAddress { get; set; }
/// <summary>
/// 通知人国家
/// </summary>
public string NotifypartCountry { get; set; }
/// <summary>
/// 通知人省份
/// </summary>
public string NotifypartProvince { get; set; }
/// <summary>
/// 通知人城市
/// </summary>
public string NotifypartCity { get; set; }
/// <summary>
/// 通知人区县
/// </summary>
public string NotifypartCounty { get; set; }
/// <summary>
/// 通知人邮政编码
/// </summary>
public string NotifypartPostCode { get; set; }
/// <summary>
/// 通知人联系人名
/// </summary>
public string NotifypartFirstName { get; set; }
/// <summary>
/// 通知人联系人姓
/// </summary>
public string NotifypartLastName { get; set; }
/// <summary>
/// 通知人电话国家代码
/// </summary>
public string NotifypartPhoneCountryCode { get; set; }
/// <summary>
/// 通知人电话区号
/// </summary>
public string NotifypartPhoneCode { get; set; }
/// <summary>
/// 通知人电话
/// </summary>
public string NotifypartPhone { get; set; }
/// <summary>
/// 通知人分机号
/// </summary>
public string NotifypartPhoneExtension { get; set; }
/// <summary>
/// 订舱公司名称
/// </summary>
public string BookingName { get; set; }
/// <summary>
/// 订舱公司地址
/// </summary>
public string BookingAddress { get; set; }
/// <summary>
/// 订舱公司国家
/// </summary>
public string BookingCountry { get; set; }
/// <summary>
/// 订舱公司省份
/// </summary>
public string BookingProvince { get; set; }
/// <summary>
/// 订舱公司城市
/// </summary>
public string BookingCity { get; set; }
/// <summary>
/// 订舱公司区县
/// </summary>
public string BookingCounty { get; set; }
/// <summary>
/// 订舱公司邮政编码
/// </summary>
public string BookingPostCode { get; set; }
/// <summary>
/// 订舱公司联系人名
/// </summary>
public string BookingFirstName { get; set; }
/// <summary>
/// 订舱公司联系人姓
/// </summary>
public string BookingLastName { get; set; }
/// <summary>
/// 订舱公司电话国家代码
/// </summary>
public string BookingPhoneCountryCode { get; set; }
/// <summary>
/// 订舱公司电话区号
/// </summary>
public string BookingPhoneCode { get; set; }
/// <summary>
/// 订舱公司电话
/// </summary>
public string BookingPhone { get; set; }
/// <summary>
/// 订舱公司分机号
/// </summary>
public string BookingPhoneExtension { get; set; }
/// <summary>
/// 品名货描
/// </summary>
public string Description { get; set; }
/// <summary>
/// 订舱备注
/// </summary>
public string SoRemark { get; set; }
/// <summary>
/// 下一步通知
/// </summary>
public bool NotifyNext { get; set; }
/// <summary>
/// 拖车公司
/// </summary>
public string TruckCompany { get; set; }
/// <summary>
/// BC接收邮箱
/// </summary>
public string BcReceiveEmail { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string ContractNO { get; set; }
/// <summary>
/// 订舱账号
/// </summary>
public string BookingAccount { get; set; }
/// <summary>
/// 开始天数
/// </summary>
public int? StartDay { get; set; }
/// <summary>
/// 结束周数
/// </summary>
public int? EndWeek { get; set; }
}
/// <summary>
/// 订舱模板保存输入参数
/// </summary>
public class BookingSoTemplateSaveInput : BookingSoTemplateDto
{
}
/// <summary>
/// 订舱模板查询输入参数
/// </summary>
public class QueryBookingSoTemplateInput : PageInputBase
{
/// <summary>
/// 客户名称
/// </summary>
public string CustName { get; set; }
/// <summary>
/// 船司ID
/// </summary>
public string CarrierId { get; set; }
/// <summary>
/// 船司名称
/// </summary>
public string Carrier { get; set; }
/// <summary>
/// 模板名称
/// </summary>
public string TemplateName { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string ContractNO { get; set; }
/// <summary>
/// 订舱账号
/// </summary>
public string BookingAccount { get; set; }
}
}