You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.9 KiB
C#
64 lines
1.9 KiB
C#
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()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="machineId">设备编号</param>
|
|
/// <param name="classOrder">班次</param>
|
|
/// <param name="classTeam">班组</param>
|
|
/// <param name="unit">单位</param>
|
|
/// <param name="standWeight">产量</param>
|
|
/// <param name="beginTime">开始时间</param>
|
|
/// <param name="endTime">结束时间</param>
|
|
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; }
|
|
}
|
|
}
|