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.
BookingHeChuan/Myshipping.Core/Service/DjyCustomer/Dto/DjyCustomerInput.cs

395 lines
9.6 KiB
C#

using Myshipping.Core;
using System;
2 years ago
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
/// <summary>
/// 订舱客户输入参数
/// </summary>
public class DjyCustomerInput
{
public DjyCustomerInput()
2 years ago
{
8 months ago
//this.Contacts = new List<AddDjyCustomerContactInput>();
this.Addrs = new List<DjyCustomerAddrInput>();
2 years ago
}
/// <summary>
/// 代码
/// </summary>
public virtual string CodeName { get; set; }
/// <summary>
/// 简称
/// </summary>
public virtual string ShortName { get; set; }
/// <summary>
/// 全称
/// </summary>
public virtual string FullName { get; set; }
/// <summary>
/// 负责人
/// </summary>
public virtual string Chief { get; set; }
/// <summary>
/// 电话
/// </summary>
public virtual string Tel { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public virtual string Email { get; set; }
/// <summary>
/// QQ
/// </summary>
public virtual string QQ { get; set; }
/// <summary>
/// 网址
/// </summary>
public virtual string WebUrl { get; set; }
/// <summary>
/// 省份
/// </summary>
public virtual string Province { get; set; }
/// <summary>
/// 城市
/// </summary>
public virtual string City { get; set; }
/// <summary>
/// 地址
/// </summary>
public virtual string Addr { get; set; }
/// <summary>
/// 英文全名
/// </summary>
public virtual string FullNameEN { get; set; }
/// <summary>
/// 英文地址
/// </summary>
public virtual string AddrEN { get; set; }
/// <summary>
/// 属性字符串
/// </summary>
public virtual string PropString { get; set; }
/// <summary>
/// 发票抬头
/// </summary>
public virtual string InvTitle { get; set; }
/// <summary>
/// 纳税人识别号
/// </summary>
public virtual string TaxNO { get; set; }
/// <summary>
/// 发票地址电话
/// </summary>
public virtual string InvAddrTel { get; set; }
/// <summary>
/// 人民币开户行
/// </summary>
public virtual string RMBBank { get; set; }
/// <summary>
/// 人民币账号
/// </summary>
public virtual string RmbAccount { get; set; }
/// <summary>
/// 美元开户行
/// </summary>
public virtual string USDBank { get; set; }
/// <summary>
/// 美元账号
/// </summary>
public virtual string USDAccount { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
2 years ago
/// <summary>
/// 操作id
/// </summary>
public string OPID { get; set; }
/// <summary>
/// 单证id
/// </summary>
public string DOCID { get; set; }
/// <summary>
/// 操作
/// </summary>
public string OP { get; set; }
/// <summary>
/// 单证
/// </summary>
public string DOC { get; set; }
/// <summary>
/// 销售ID
/// </summary>
public string SALEID { get; set; }
/// <summary>
/// 销售
/// </summary>
public string SALE { get; set; }
/// <summary>
/// 客服ID
/// </summary>
public string CUSTSERVICEID { get; set; }
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 提单信息
/// </summary>
public string TIDANINFO { get; set; }
2 years ago
/// <summary>
/// 服务项目
/// </summary>
public string ServiceItem { get; set; }
/// <summary>
/// 地址列表
/// </summary>
public List<DjyCustomerAddrInput> Addrs { get; set; }
}
/// <summary>
/// 订舱客户新增输入参数
/// </summary>
public class AddDjyCustomerInput : DjyCustomerInput
{
8 months ago
/// <summary>
/// 联系人
/// </summary>
public List<AddDjyCustomerContactInput> Contacts { get; set; } = new List<AddDjyCustomerContactInput>();
2 years ago
}
/// <summary>
/// 订舱客户修改输入参数
/// </summary>
public class UpdateDjyCustomerInput : DjyCustomerInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
8 months ago
/// <summary>
/// 联系人
/// </summary>
public List<UpdateDjyCustomerContactInput> Contacts { get; set; } = new List<UpdateDjyCustomerContactInput>();
}
/// <summary>
/// 订舱客户获取(删除)输入参数
/// </summary>
public class GetDjyCustomerInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱客户查询输入参数
/// </summary>
public class QueryDjyCustomerInput : PageInputBase
{
/// <summary>
/// 主键
/// </summary>
public virtual long Id { get; set; }
/// <summary>
/// 代码
/// </summary>
public virtual string CodeName { get; set; }
/// <summary>
/// 简称
/// </summary>
public virtual string ShortName { get; set; }
/// <summary>
/// 全称
/// </summary>
public virtual string FullName { get; set; }
/// <summary>
/// 负责人
/// </summary>
public virtual string Chief { get; set; }
/// <summary>
/// 电话
/// </summary>
public virtual string Tel { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public virtual string Email { get; set; }
/// <summary>
/// QQ
/// </summary>
public virtual string QQ { get; set; }
/// <summary>
/// 网址
/// </summary>
public virtual string WebUrl { get; set; }
/// <summary>
/// 省份
/// </summary>
public virtual string Province { get; set; }
/// <summary>
/// 城市
/// </summary>
public virtual string City { get; set; }
/// <summary>
/// 地址
/// </summary>
public virtual string Addr { get; set; }
/// <summary>
/// 英文全名
/// </summary>
public virtual string FullNameEN { get; set; }
/// <summary>
/// 英文地址
/// </summary>
public virtual string AddrEN { get; set; }
/// <summary>
/// 属性字符串
/// </summary>
public virtual string PropString { get; set; }
/// <summary>
/// 发票抬头
/// </summary>
public virtual string InvTitle { get; set; }
/// <summary>
/// 纳税人识别号
/// </summary>
public virtual string TaxNO { get; set; }
/// <summary>
/// 发票地址电话
/// </summary>
public virtual string InvAddrTel { get; set; }
/// <summary>
/// 人民币开户行
/// </summary>
public virtual string RMBBank { get; set; }
/// <summary>
/// 人民币账号
/// </summary>
public virtual string RmbAccount { get; set; }
/// <summary>
/// 美元开户行
/// </summary>
public virtual string USDBank { get; set; }
/// <summary>
/// 美元账号
/// </summary>
public virtual string USDAccount { get; set; }
2 years ago
/// <summary>
/// 服务项目
/// </summary>
public string ServiceItem { get; set; }
/// <summary>
/// 销售
/// </summary>
public string SALE { get; set; }
2 years ago
}
/// <summary>
/// 订舱客户批量修改参数
/// </summary>
public class BatchUpdateInput
{
/// <summary>
/// 客户主键列表
/// </summary>
public List<long> CustomnerIdList { get; set; }
public bool IsSetOP { get; set; }
public bool IsSetDOC { get; set; }
public bool IsSetSALE { get; set; }
public bool IsSetCUSTSERVICE { get; set; }
/// <summary>
/// 操作id
/// </summary>
public string OPID { get; set; }
/// <summary>
/// 单证id
/// </summary>
public string DOCID { get; set; }
/// <summary>
/// 操作
/// </summary>
public string OP { get; set; }
/// <summary>
/// 单证
/// </summary>
public string DOC { get; set; }
/// <summary>
/// 销售ID
/// </summary>
public string SALEID { get; set; }
/// <summary>
/// 销售
/// </summary>
public string SALE { get; set; }
/// <summary>
/// 客服ID
/// </summary>
public string CUSTSERVICEID { get; set; }
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
}
}