using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MESDataExtractQuartz.Model { [SugarTable("Record_MesMachineOutPut")] public class Record_MesMachineOutPut { public Record_MesMachineOutPut() { } /// /// /// /// 设备编号 /// 班次 /// 班组 /// 单位 /// 产量 /// 开始时间 /// 结束时间 public Record_MesMachineOutPut(string machineId,string classOrder,string classTeam,string unit,decimal standWeight, DateTime beginTime,DateTime endTime) { this.machineId = machineId; this.classOrder = classOrder; this.classTeam = classTeam; this.unit = unit; this.standWeight = standWeight; this.beginTime = beginTime; this.endTime = endTime; } [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//通过特性设置主键和自增列 public int objId { get; set; } public string machineId { get; set; } public string classOrder { get; set; } public string classTeam { get; set; } public decimal outPut { get; set; } public string unit { get; set; } public string productionDate { get; set; } public DateTime recordTime { get; set; } public decimal standWeight { get; set; } public DateTime beginTime { get; set; } public DateTime endTime { get; set; } } }