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.
BookingHeChuan/Myshipping.Application/Service/BookingPrintTemplate/Dto/BookingPrintTemplateInput.cs

160 lines
3.9 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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代表FastReportExcelTemplate或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代表FastReportExcelTemplate或20代表Excel模板
/// </summary>
public virtual string Type { get; set; }
}
}