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