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.
34 lines
1.1 KiB
34 lines
1.1 KiB
2 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace GpsModels
|
||
|
{
|
||
|
[BsonIgnoreExtraElements]
|
||
|
public class GpsCarStatusDurationModel
|
||
|
{
|
||
|
public long VehicleId { get; set; }
|
||
|
public long CompanyId { get; set; }
|
||
|
public string Code { get; set; }
|
||
|
public string VehicleName { get; set; }
|
||
|
public int State { get; set; }
|
||
|
public string DurationTime { get; set; }
|
||
|
/// <summary>
|
||
|
/// 状态 1Acc 2作业状态
|
||
|
/// </summary>
|
||
|
public int Type { get; set; }
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime TimeBegin { get; set; }
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime TimeEnd { get; set; }
|
||
|
public string Record { get; set; }
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime ModifiedTime { get; set; }
|
||
|
[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
|
||
|
public DateTime CreatedTime { get; set; }
|
||
|
}
|
||
|
}
|