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