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