|
|
|
@ -54,24 +54,7 @@ public class SwapOrderDto
|
|
|
|
|
[ExporterHeader(DisplayName = "所属部门", IsBold = true)]
|
|
|
|
|
public string? Departments {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电类型:;1自动换电;2手动换电
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "换电模式", IsBold = true)]
|
|
|
|
|
public string SwapWayDisplay
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return SwapWay switch
|
|
|
|
|
{
|
|
|
|
|
1 => "自动换电",
|
|
|
|
|
2 => "手动换电",
|
|
|
|
|
_ => "未知"
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电类型:;1自动换电;2手动换电
|
|
|
|
|
/// Default:0
|
|
|
|
@ -244,6 +227,23 @@ public class SwapOrderDto
|
|
|
|
|
[ExporterHeader(DisplayName = "总费用", IsBold = true)]
|
|
|
|
|
public decimal? TotalFee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:换电类型:;1自动换电;2手动换电
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ExporterHeader(DisplayName = "备注", IsBold = true)]
|
|
|
|
|
public decimal? Remark { get; set; }
|
|
|
|
|
public string SwapWayDisplay
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return SwapWay switch
|
|
|
|
|
{
|
|
|
|
|
1 => "自动换电",
|
|
|
|
|
2 => "手动换电",
|
|
|
|
|
3 => "半自动换电",
|
|
|
|
|
_ => "未知"
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|