using System.ComponentModel.DataAnnotations; namespace TrackCenter.Application.Dtos.ProvideServices; public class BatchUpsertTrackInput : OrderNosInfo { /// /// true新增,false更新 /// public bool IsAdd { get; set; } /// /// 轨迹内容代码 /// [Required] [MaxLength(50)] public string TrackCode { get; set; } = null!; /// /// 轨迹发生地 /// [Required] [MaxLength(200)] public string TrackPlace { get; set; } = null!; /// /// 轨迹发生时间 /// [Required] public DateTime TrackTime { get; set; } /// /// 轨迹发生时区 /// public float? TrackTimeZone { get; set; } /// /// 是否对外(可选的) /// 如果未填则按照【轨迹内容】中的【是否可见】做为默认值 /// public bool? IsExternal { get; set; } /// /// 数据来源:1外部服务商创建,2内部系统创建,3人工创建 /// [Required] public int Source { get; set; } /// /// 轨迹备注 /// public string? Remarks { get; set; } /// /// 附件集合 /// public List? Files { get; set; } /// /// 轨迹内容,若为空则取轨迹内容表中该轨迹Code对应的轨迹内容 /// public string? Content { get; set; } /// /// 轨迹内容英文,若为空则取轨迹内容表中该轨迹Code对应的轨迹英文内容 /// public string? EnStatus { get; set; } /// /// 扩展信息字段,用于轨迹推送的附加字段 /// public string? Extra { get; set; } /// /// 是否强制推送 /// public bool ForcedPush { get; set; } /// /// 指定是否推送 /// public bool IsToMq { get; set; } }