using System.ComponentModel.DataAnnotations; namespace SJZY.Track.Application.Contract.Dtos.ProvideServices; public class UpdateOrderInput : OrderNoInfo { /// /// 目的港口 /// public string? ArrivalPort { get; set; } /// /// 起运港口 /// public string? LeavePort { get; set; } /// /// 目的国家,必填 /// [Required] [MaxLength(200)] public string ArrivalCountry { get; set; } = null!; /// /// 起运国家,必填 /// [Required] [MaxLength(200)] public string LeaveCountry { get; set; } = null!; /// /// 目的城市,必填 /// [Required] [MaxLength(200)] public string ArrivalCity { get; set; } = null!; /// /// 起运城市,必填 /// [Required] [MaxLength(200)] public string LeaveCity { get; set; } = null!; /// /// 货物类型 /// public string? CargoType { get; set; } /// /// 是否转运 /// public bool? IsTransit { get; set; } /// /// 产品编码 /// public string? ProductCode { get; set; } /// /// 预计到达时间 /// public DateTime? EstimatedDeliveryDate { get; set; } /// /// 目的地时区 /// public float? DestinationTimeZone { get; set; } /// /// 拉取配置信息 /// public List? PullConfigInfos { get; set; } /// /// 订单航班信息 /// public List FlightInfos { get; set; } = new(); } public class PullConfigInfo { /// /// 服务商code /// [Required] public string ServiceCode { get; set; } /// /// api服务商订单号(第三方单号) /// public string? OrderNo { get; set; } /// /// 开始轨迹code /// public string? StartCode { get; set; } /// /// 结束轨迹code /// public string? EndCode { get; set; } /// /// 静默多久后拉取(小时) /// [Range(0, 24 * 7)] public int SilenceTime { get; set; } /// /// 结束多久后停止拉取(小时) /// [Range(0, 24 * 7)] public int StopTime { get; set; } }