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.

62 lines
1.4 KiB
C#

using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 订舱货物状态输入参数
/// </summary>
public class BookingGoodsStatusConfigInput
{
/// <summary>
/// 状态名称
/// </summary>
public string StatusName { get; set; }
/// <summary>
/// 排序号
/// </summary>
public int Sort { get; set; }
}
/// <summary>
/// 订舱货物状态修改输入参数
/// </summary>
public class SaveBookingGoodsStatusConfigInput: BookingGoodsStatusConfigInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱货物状态获取(删除)输入参数
/// </summary>
public class GetBookingGoodsStatusConfigInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 订舱货物状态查询输入参数
/// </summary>
public class QueryBookingGoodsStatusConfigInput : PageInputBase
{
/// <summary>
/// 状态名称
/// </summary>
public string StatusName { get; set; }
}
}