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.
71 lines
1.8 KiB
71 lines
1.8 KiB
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using SqlSugar;
|
|
|
|
namespace Entity.DbModel.Station
|
|
{
|
|
///<summary>
|
|
///
|
|
///</summary>
|
|
[SugarTable("base_vehicle")]
|
|
public partial class BaseVehicle : BaseModel
|
|
{
|
|
public BaseVehicle(){
|
|
|
|
|
|
}
|
|
/// <summary>
|
|
/// Desc:id
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
|
|
public int Id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:车牌号
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="vehicle_no")]
|
|
public string? VehicleNo {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:车辆mac
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="vehicle_mac")]
|
|
public string? VehicleMac {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:车辆vin码
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="vehicle_vin")]
|
|
[Required]
|
|
public string? VehicleVin {get;set;}
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:公司
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="company")]
|
|
public string? Company {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:部门
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="departments")]
|
|
public string? Departments {get;set;}
|
|
|
|
}
|
|
}
|