using Myshipping.Core; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Myshipping.Application { /// /// 订舱关系人输入参数 /// public class BookingOrderContactInput { /// /// 订舱Id /// public virtual long BookingId { get; set; } /// /// 角色代码 /// public virtual string RoleCode { get; set; } /// /// 名称 /// public virtual string Name { get; set; } /// /// 电话 /// public virtual string Tel { get; set; } /// /// 邮箱 /// public virtual string Email { get; set; } /// /// 排序号 /// public virtual int Sort { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } } /// /// 订舱关系人新增输入参数 /// public class AddBookingOrderContactInput : BookingOrderContactInput { } /// /// 订舱关系人修改输入参数 /// public class UpdateBookingOrderContactInput : BookingOrderContactInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 订舱关系人获取(删除)输入参数 /// public class GetBookingOrderContactInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 订舱关系人查询输入参数 /// public class QueryBookingOrderContactInput : PageInputBase { /// /// 主键 /// public virtual long Id { get; set; } /// /// 订舱Id /// public virtual long BookingId { get; set; } /// /// 角色代码 /// public virtual string RoleCode { get; set; } /// /// 名称 /// public virtual string Name { get; set; } /// /// 电话 /// public virtual string Tel { get; set; } /// /// 邮箱 /// public virtual string Email { get; set; } /// /// 排序号 /// public virtual int Sort { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } /// /// 租户ID /// public virtual long TenantId { get; set; } } }