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.

160 lines
3.8 KiB
C#

using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 订舱样单输入参数
/// </summary>
public class BookingSampleBillInput
{
/// <summary>
/// 订舱ID
/// </summary>
public virtual long BookingId { get; set; }
/// <summary>
/// TO
/// </summary>
public virtual string ToName { get; set; }
/// <summary>
/// ATTN
/// </summary>
public virtual string Attn { get; set; }
/// <summary>
/// ATTN电话
/// </summary>
public virtual string AttnTel { get; set; }
/// <summary>
/// ATTN邮箱
/// </summary>
public virtual string AttnMail { get; set; }
/// <summary>
/// FROM
/// </summary>
public virtual string FromName { get; set; }
/// <summary>
/// FROM电话
/// </summary>
public virtual string FromTel { get; set; }
/// <summary>
/// FROM邮箱
/// </summary>
public virtual string FromMail { get; set; }
/// <summary>
/// 描述
/// </summary>
public virtual string Description { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
}
/// <summary>
/// 订舱样单新增输入参数
/// </summary>
public class AddBookingSampleBillInput : BookingSampleBillInput
{
}
/// <summary>
/// 订舱样单修改输入参数
/// </summary>
public class UpdateBookingSampleBillInput : BookingSampleBillInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱样单获取(删除)输入参数
/// </summary>
public class GetBookingSampleBillInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱样单查询输入参数
/// </summary>
public class QueryBookingSampleBillInput : PageInputBase
{
/// <summary>
/// 主键Id
/// </summary>
public virtual long Id { get; set; }
/// <summary>
/// 订舱ID
/// </summary>
public virtual long BookingId { get; set; }
/// <summary>
/// TO
/// </summary>
public virtual string ToName { get; set; }
/// <summary>
/// ATTN
/// </summary>
public virtual string Attn { get; set; }
/// <summary>
/// ATTN电话
/// </summary>
public virtual string AttnTel { get; set; }
/// <summary>
/// ATTN邮箱
/// </summary>
public virtual string AttnMail { get; set; }
/// <summary>
/// FROM
/// </summary>
public virtual string FromName { get; set; }
/// <summary>
/// FROM电话
/// </summary>
public virtual string FromTel { get; set; }
/// <summary>
/// FROM邮箱
/// </summary>
public virtual string FromMail { get; set; }
/// <summary>
/// 描述
/// </summary>
public virtual string Description { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
}
}