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(); } /// /// 代码 /// 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; } public List Contacts { get; set; } } /// /// 订舱客户新增输入参数 /// public class AddDjyCustomerInput : DjyCustomerInput { } /// /// 订舱客户修改输入参数 /// public class UpdateDjyCustomerInput : DjyCustomerInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 订舱客户获取(删除)输入参数 /// 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; } } }