47 lines
1.5 KiB
C#
47 lines
1.5 KiB
C#
|
|
namespace YY.Admin.Core.Entity;
|
|||
|
|
|
|||
|
|
public class MesXslVehicle
|
|||
|
|
{
|
|||
|
|
public string? Id { get; set; }
|
|||
|
|
public string? PlateNumber { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>车辆归属:1客户 2供应商 3本公司</summary>
|
|||
|
|
public string? VehicleBelong { get; set; }
|
|||
|
|
|
|||
|
|
public decimal? TareWeightKg { get; set; }
|
|||
|
|
public decimal? LoadCapacity { get; set; }
|
|||
|
|
public string? UnitId { get; set; }
|
|||
|
|
public string? LoadUnit { get; set; }
|
|||
|
|
public string? CustomerIds { get; set; }
|
|||
|
|
public string? CustomerShortName { get; set; }
|
|||
|
|
public string? SupplierId { get; set; }
|
|||
|
|
public string? SupplierName { get; set; }
|
|||
|
|
public string? SupplierShortName { get; set; }
|
|||
|
|
public decimal? VehicleLength { get; set; }
|
|||
|
|
public decimal? VehicleWidth { get; set; }
|
|||
|
|
public decimal? VehicleHeight { get; set; }
|
|||
|
|
public string? DriverName { get; set; }
|
|||
|
|
public string? DriverPhone { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>状态:0启用 1停用</summary>
|
|||
|
|
public string? Status { get; set; }
|
|||
|
|
|
|||
|
|
public int? TenantId { get; set; }
|
|||
|
|
public string? CreateBy { get; set; }
|
|||
|
|
public DateTime? CreateTime { get; set; }
|
|||
|
|
public string? UpdateBy { get; set; }
|
|||
|
|
public DateTime? UpdateTime { get; set; }
|
|||
|
|
public string? SysOrgCode { get; set; }
|
|||
|
|
public int? Version { get; set; }
|
|||
|
|
|
|||
|
|
public string VehicleBelongText => VehicleBelong switch
|
|||
|
|
{
|
|||
|
|
"1" => "客户",
|
|||
|
|
"2" => "供应商",
|
|||
|
|
"3" => "本公司",
|
|||
|
|
_ => VehicleBelong ?? ""
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
public string StatusText => Status == "1" ? "停用" : "启用";
|
|||
|
|
}
|