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.
90 lines
2.1 KiB
C#
90 lines
2.1 KiB
C#
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 class AddBookingPrintTemplateInput : BookingPrintTemplateInput
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 订舱打印模板修改输入参数
|
|
/// </summary>
|
|
public class UpdateBookingPrintTemplateInput: BookingPrintTemplateInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
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; }
|
|
|
|
}
|
|
}
|