You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
3.0 KiB

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