using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
///
/// 订舱业务来源输入参数
///
public class BookingSourceInput
{
///
/// 代码
///
public string Code { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 订舱业务来源修改输入参数
///
public class SaveBookingSourceInput: BookingSourceInput
{
///
/// 主键
///
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
///
/// 订舱业务来源获取(删除)输入参数
///
public class GetBookingSourceInput
{
///
/// 主键
///
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
///
/// 订舱业务来源查询输入参数
///
public class QueryBookingSourceInput : PageInputBase
{
///
/// 代码
///
public string Code { get; set; }
///
/// 名称
///
public string Name { get; set; }
}
}