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.
283 lines
6.9 KiB
C#
283 lines
6.9 KiB
C#
using Myshipping.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Myshipping.Core.Service
|
|
{
|
|
/// <summary>
|
|
/// 订舱客户输入参数
|
|
/// </summary>
|
|
public class DjyCustomerInput
|
|
{
|
|
public DjyCustomerInput()
|
|
{
|
|
this.Contacts = new List<AddDjyCustomerContactInput>();
|
|
}
|
|
|
|
/// <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; }
|
|
|
|
|
|
public List<AddDjyCustomerContactInput> Contacts { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 订舱客户新增输入参数
|
|
/// </summary>
|
|
public class AddDjyCustomerInput : DjyCustomerInput
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 订舱客户修改输入参数
|
|
/// </summary>
|
|
public class UpdateDjyCustomerInput : DjyCustomerInput
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
/// <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; }
|
|
|
|
}
|
|
}
|