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