using System.ComponentModel.DataAnnotations; namespace Entity.Api.Req { /// ///修改换电订单 /// public class ModifySwapOrderReq:AddSwapOrderReq { /// /// Desc:id /// Default: /// Nullable:False /// [Required] public int Id { get; set; } /// /// 订单编号 /// public string? Sn { get; set; } /// /// Desc:车牌号 /// Default: /// Nullable:True /// public string? VehicleNo { get; set; } /// /// Desc:车辆mac /// Default: /// Nullable:True /// public string? VehicleMac { get; set; } /// /// Desc:车辆vin码 /// Default: /// Nullable:True /// public string? VehicleVin { get; set; } /// /// Desc:车辆进场时间 /// Default: /// Nullable:True /// public DateTime? VehicleEnterTime { get; set; } /// /// Desc:车辆离场时间 /// Default: /// Nullable:True /// public DateTime? VehicleLeaveTime { get; set; } /// /// Desc:换电开始时间 /// Default: /// Nullable:True /// public DateTime? SwapBeginTime { get; set; } /// /// Desc:换电结束时间 /// Default: /// Nullable:True /// public DateTime? SwapEndTime { get; set; } /// /// Desc:换电结果;0-未知;1-成功;2-失败 /// Default:0 /// Nullable:True /// public int? SwapResult { get; set; } /// /// Desc:失败原因 /// Default: /// Nullable:True /// public string? FailReason { get; set; } /// /// Desc:上传云平台状态;0-未上传;1-已上传 /// Default:0 /// Nullable:True /// public int? CloudReportStatus { get; set; } ///// ///// Desc:创建人 ///// Default: ///// Nullable:True ///// //public string? CreatedBy { get; set; } ///// ///// Desc:创建时间 ///// Default:CURRENT_TIMESTAMP ///// Nullable:True ///// //public DateTime? CreatedTime { get; set; } = DateTime.Now; /// /// Desc:更新人 /// Default: /// Nullable:True /// public string? UpdatedBy { get; set; } /// /// Desc:更新时间 /// Default:CURRENT_TIMESTAMP /// Nullable:True /// public DateTime? UpdatedTime { get; set; } = DateTime.Now; /// /// 云平台订单号 /// public string? CloudSn { get; set; } } }