diff --git a/src/SJZY.Track.Application.Contract/Dtos/ProvideServices/UpsertTrackInput.cs b/src/SJZY.Track.Application.Contract/Dtos/ProvideServices/UpsertTrackInput.cs
index ef0e67a4..c2c7b4c6 100644
--- a/src/SJZY.Track.Application.Contract/Dtos/ProvideServices/UpsertTrackInput.cs
+++ b/src/SJZY.Track.Application.Contract/Dtos/ProvideServices/UpsertTrackInput.cs
@@ -1,24 +1,32 @@
-namespace SJZY.Track.Application.Contract.Dtos.ProvideServices;
+using System.ComponentModel.DataAnnotations;
+
+namespace SJZY.Track.Application.Contract.Dtos.ProvideServices;
public class UpsertTrackInput : OrderNoInfo
{
///
/// 轨迹内容代码
///
+ [Required]
+ [MaxLength(50)]
public string TrackCode { get; set; } = null!;
///
/// 轨迹发生地
///
+ [Required]
+ [MaxLength(200)]
public string TrackPlace { get; set; } = null!;
///
/// 轨迹发生时间
///
+ [Required]
public DateTime TrackTime { get; set; }
///
/// 轨迹发生时区
///
+ [Required]
public float TraceTimeZone { get; set; }
}
\ No newline at end of file