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.
176 lines
4.2 KiB
176 lines
4.2 KiB
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Znyc.Admin.Commons.Entitys;
|
|
|
|
namespace Znyc.Admin.Security.Entitys
|
|
{
|
|
/// <summary>
|
|
/// 公司表
|
|
/// </summary>
|
|
[Table("dc_vehicle")]
|
|
[Comment("公司表")]
|
|
public class Vehicle : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 所属公司
|
|
/// </summary>
|
|
[Comment("所属公司")]
|
|
public long CompanyId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车辆编号
|
|
/// </summary>
|
|
[Comment("车辆编号")]
|
|
public string VehicleCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车牌号
|
|
/// </summary>
|
|
[Comment("车牌号")]
|
|
public string VehiclePlate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车辆类型
|
|
/// </summary>
|
|
[Comment("车辆类型")]
|
|
public long VehicleType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 所属车组
|
|
/// </summary>
|
|
[Comment("所属车组")]
|
|
public long VehicleGroup { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物联卡类型
|
|
/// </summary>
|
|
[Comment("物联卡类型")]
|
|
public long CardType { get; set; }
|
|
|
|
/// <summary>
|
|
/// SIM卡号
|
|
/// </summary>
|
|
[Comment("SIM卡号")]
|
|
public string SimNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备类型
|
|
/// </summary>
|
|
[Comment("设备类型")]
|
|
public long TerminalType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备号
|
|
/// </summary>
|
|
[Comment("设备号")]
|
|
public string TerminalNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// GPS协议号
|
|
/// </summary>
|
|
[Comment("GPS协议号")]
|
|
public string AgreementNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否激活
|
|
/// </summary>
|
|
[Comment("是否激活")]
|
|
public bool IsActivate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否开启GPS
|
|
/// </summary>
|
|
[Comment("是否开启GPS")]
|
|
public bool IsGps { get; set; }
|
|
|
|
/// <summary>
|
|
/// 所属司机
|
|
/// </summary>
|
|
[Comment("所属司机")]
|
|
public long VehicleDriver { get; set; }
|
|
|
|
/// <summary>
|
|
/// 司机电话
|
|
/// </summary>
|
|
[Comment("司机电话")]
|
|
public string DriverPhone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 联系人
|
|
/// </summary>
|
|
[Comment("联系人")]
|
|
public string ContactPerson { get; set; }
|
|
|
|
/// <summary>
|
|
/// 联系电话
|
|
/// </summary>
|
|
[Comment("联系电话")]
|
|
public string ContactPhone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[Comment("状态")]
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gps状态
|
|
/// </summary>
|
|
[Comment("Gps状态")]
|
|
public int GpsState { get; set; }
|
|
|
|
/// <summary>
|
|
/// 打火状态
|
|
/// </summary>
|
|
[Comment("打火状态")]
|
|
public int Acc { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工作状态
|
|
/// </summary>
|
|
[Comment("工作状态")]
|
|
public int Work { get; set; }
|
|
|
|
/// <summary>
|
|
/// Imei号
|
|
/// </summary>
|
|
[Comment("Imei号")]
|
|
public string ImeiNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// GPS时间
|
|
/// </summary>
|
|
[Comment("GPS时间")]
|
|
public DateTime? GpsTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开通时间
|
|
/// </summary>
|
|
[Comment("开通时间")]
|
|
public DateTime OpenTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 到期时间
|
|
/// </summary>
|
|
[Comment("到期时间")]
|
|
public DateTime ExpireTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否开启超速报警
|
|
/// </summary>
|
|
[Comment("是否开启超速报警")]
|
|
public bool IsOverspeedAlarm { get; set; }
|
|
|
|
/// <summary>
|
|
/// 超速速度
|
|
/// </summary>
|
|
[Comment("超速速度")]
|
|
public int Overspeed { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int Sort { get; set; }
|
|
}
|
|
}
|