using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model.PLCAutomationApi { public class PLC_InputData : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 数据名 /// public string dataname { get; set; } /// /// 起始数据值 /// public string startvalue { get; set; } /// /// 结束数据值 /// public string endvalue { get; set; } /// /// 日期 /// public string inputtime { get; set; } /// /// 删除标志:0正常,1删除 /// public int? deleteflag { get; set; } /// /// 数据类型:0水、1电、2气、3氧气 /// public int datakind { get; set; } /// /// 创建人工号 /// public string createusercode { get; set; } /// /// 创建时间 /// public DateTime createtime { get; set; }= DateTime.Now.ToLocalTime(); /// /// 项目名称 /// public string projectname { get; set; } } }