|
|
|
|
using Myshipping.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱模板输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BookingTemplateInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标题
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Content { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NAME { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ADDR { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 国家code
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 国家
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string COUNTRYName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TEL { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱模板新增输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AddBookingTemplateInput : BookingTemplateInput
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱模板修改输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class UpdateBookingTemplateInput: BookingTemplateInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱模板获取(删除)输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class GetBookingTemplateInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱模板查询输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class QueryBookingTemplateInput : PageInputBase
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标题
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class BookingPrintTemplateShareDto {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long TemplateId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分享用户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long ShareToId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分享用户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShareToName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|