using Myshipping.Core; using System; using System.ComponentModel.DataAnnotations; namespace Myshipping.Core { /// /// EDI参数设置输入参数 /// public class DjyEdiSettingInput { /// /// EDI类型代码 /// public virtual string EDICODE { get; set; } /// /// EDI类型名称 /// public virtual string EDINAME { get; set; } /// /// 服务器IP /// public virtual string SERVERIP { get; set; } /// /// 文件夹 /// public virtual string FOLDERNAME { get; set; } /// /// 用户名 /// public virtual string USERNAME { get; set; } /// /// 密码 /// public virtual string PASSWORD { get; set; } /// /// 发送方代码 /// public virtual string SENDCODE { get; set; } /// /// 接收方代码 /// public virtual string RECEIVECODE { get; set; } /// /// 发送方名称 /// public virtual string SENDNAME { get; set; } /// /// 发送方联系人 /// public virtual string SENDATTN { get; set; } /// /// 发送方邮箱 /// public virtual string SENDTEL { get; set; } /// /// 发送方电话 /// public virtual string SENDEMAIL { get; set; } /// /// 发送方公司代码 /// public virtual string SENDCOMPANYCODE { get; set; } /// /// 发送方部门代码 /// public virtual string SENDSUBCOMPANYCODE { get; set; } /// /// 船公司代码 /// public virtual string CARRIERID { get; set; } /// /// 接收方邮箱 /// public virtual string RECEIVEEMAIL { get; set; } /// /// 接收方SI邮箱 /// public virtual string RECEIVESIEMAIL { get; set; } /// /// 接收方操作 /// public virtual string RECEIVEOP { get; set; } /// /// 接收方销售 /// public virtual string RECEIVESALE { get; set; } /// /// 接收方部门 /// public virtual string RECEIVEDEPT { get; set; } /// /// 发送人电话 /// public virtual string SHIPPERTEL { get; set; } /// /// 收货人电话 /// public virtual string CONSIGNEETEL { get; set; } /// /// 通知人电话 /// public virtual string NOTIFYPARTYTEL { get; set; } /// /// 是否设置TEL /// public virtual string ISUSETEL { get; set; } /// /// 租户ID /// public virtual long TenantId { get; set; } /// /// 租户名称 /// public virtual string TenantName { get; set; } /// /// 发送类型 /// public string SendType { get; set; } = string.Empty; /// /// 发送方别名 /// public string ALIASSENDCODE { get; set; } } /// /// EDI参数设置新增输入参数 /// public class AddDjyEdiSettingInput : DjyEdiSettingInput { } /// /// EDI参数设置修改输入参数 /// public class UpdateDjyEdiSettingInput : DjyEdiSettingInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// EDI参数设置获取(删除)输入参数 /// public class GetDjyEdiSettingInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// EDI参数设置查询输入参数 /// public class QueryDjyEdiSettingInput : PageInputBase { /// /// 主键 /// public virtual long Id { get; set; } /// /// EDI类型代码 /// public virtual string EDICODE { get; set; } /// /// EDI类型名称 /// public virtual string EDINAME { get; set; } /// /// 船公司代码 /// public virtual string CARRIERID { get; set; } /// /// 租户ID /// public virtual long TenantId { get; set; } /// /// 租户名称 /// public virtual string TenantName { get; set; } } }