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