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

149 lines
3.4 KiB
C#

using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 订舱打印模板输入参数
/// </summary>
public class BookingPrintTemplateInput
{
/// <summary>
/// 模板类型(准备作废)
/// </summary>
2 years ago
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; }
2 years ago
/// <summary>
/// 主单(准备作废)
2 years ago
/// </summary>
public bool IsMain { get; set; }
/// <summary>
/// 分单(准备作废)
2 years ago
/// </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>
/// 订舱打印模板新增输入参数
/// </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; }
2 years ago
/// <summary>
/// 显示名称
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// 分类代码
/// </summary>
public string CateCode { get; set; }
/// <summary>
/// 分类名称
/// </summary>
public virtual string CateName { get; set; }
2 years ago
}
}