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