|
|
using Myshipping.Core;
|
|
|
using System;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 订舱打印模板输入参数
|
|
|
/// </summary>
|
|
|
public class BookingPrintTemplateInput
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 模板类型(准备作废)
|
|
|
/// </summary>
|
|
|
public string TypeCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 类型名称(准备作废)
|
|
|
/// </summary>
|
|
|
public virtual string TypeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 租户Id
|
|
|
/// </summary>
|
|
|
public virtual long TenantId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 租户名称
|
|
|
/// </summary>
|
|
|
public string TenantName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 主单(准备作废)
|
|
|
/// </summary>
|
|
|
public bool? IsMain { get; set; }
|
|
|
/// <summary>
|
|
|
/// 分单(准备作废)
|
|
|
/// </summary>
|
|
|
public bool? IsSub { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 显示名称
|
|
|
/// </summary>
|
|
|
public string DisplayName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分类代码
|
|
|
/// </summary>
|
|
|
public string CateCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分类名称
|
|
|
/// </summary>
|
|
|
public virtual string CateName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 类型:FastReport、Excel模板等(FastReport或10代表FastReport,ExcelTemplate或20代表Excel模板)
|
|
|
/// </summary>
|
|
|
public virtual BookingPrintTemplateType Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱打印模板新增输入参数
|
|
|
/// </summary>
|
|
|
public class AddBookingPrintTemplateInput : BookingPrintTemplateInput
|
|
|
{
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱打印模板修改输入参数
|
|
|
/// </summary>
|
|
|
public class UpdateBookingPrintTemplateInput: BookingPrintTemplateInput
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键Id
|
|
|
/// </summary>
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
public long? Id { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public class SaveBookingPrintTemplateInput : BookingPrintTemplateInput
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键Id
|
|
|
/// </summary>
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱打印模板获取(删除)输入参数
|
|
|
/// </summary>
|
|
|
public class GetBookingPrintTemplateInput
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 主键Id
|
|
|
/// </summary>
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱打印模板查询输入参数
|
|
|
/// </summary>
|
|
|
public class QueryBookingPrintTemplateInput : PageInputBase
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 类型名称
|
|
|
/// </summary>
|
|
|
public virtual string TypeName { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 文件名称
|
|
|
/// </summary>
|
|
|
public virtual string FileName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 租户名称
|
|
|
/// </summary>
|
|
|
public string TenantName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 主单(准备作废)
|
|
|
/// </summary>
|
|
|
public bool? IsMain { get; set; }
|
|
|
/// <summary>
|
|
|
/// 分单(准备作废)
|
|
|
/// </summary>
|
|
|
public bool? IsSub { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 显示名称
|
|
|
/// </summary>
|
|
|
public string DisplayName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分类代码
|
|
|
/// </summary>
|
|
|
public string CateCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分类名称
|
|
|
/// </summary>
|
|
|
public virtual string CateName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 类型:FastReport、Excel模板等(FastReport或10代表FastReport,ExcelTemplate或20代表Excel模板)
|
|
|
/// </summary>
|
|
|
public virtual string Type { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|