using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
///
/// 订舱打印模板输入参数
///
public class BookingPrintTemplateInput
{
///
/// 模板类型
///
public virtual long TypeId { get; set; }
///
/// 类型名称
///
public virtual string TypeName { get; set; }
///
/// 租户Id
///
public virtual long TenantId { get; set; }
///
/// 租户名称
///
public string TenantName { get; set; }
}
///
/// 订舱打印模板新增输入参数
///
public class AddBookingPrintTemplateInput : BookingPrintTemplateInput
{
}
///
/// 订舱打印模板修改输入参数
///
public class UpdateBookingPrintTemplateInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 订舱打印模板获取(删除)输入参数
///
public class GetBookingPrintTemplateInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 订舱打印模板查询输入参数
///
public class QueryBookingPrintTemplateInput : PageInputBase
{
///
/// 类型名称
///
public virtual string TypeName { get; set; }
///
/// 文件名称
///
public virtual string FileName { get; set; }
///
/// 租户名称
///
public string TenantName { get; set; }
}
}