using MongoDB.Bson; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MES.Production.Entity.Model { public abstract class MongoModel { public ObjectId id { get; set; } public BsonDateTime created_at { get; set; } public BsonDateTime updated_at { get; set; } } public class CarParamDetails : MongoModel { /// /// 车ID /// public string carId { get; set; } /// /// 油压 /// public string hydraulic { get; set; } /// /// 水温 /// public string temperature { get; set; } /// /// 电压 /// public string voltage { get; set; } /// /// 转速 /// public string speed { get; set; } /// /// 操作时间 /// public BsonDateTime operatDate { get; set; } public string timestamp { get; set; } /// /// 结果 /// public int carReslut { get; set; } } }