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.

93 lines
2.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace MaterialTraceability.Entity.DAO
{
/// <summary>
/// 上料记录
///</summary>
[SugarTable("Pro_UpRecord")]
public class ProUpRecord
{
public ProUpRecord()
{
}
public ProUpRecord(string UpMaterialId,int MachineId, int PositionId, string Rfid, string Sfc,int IsProduction,string RecordTime)
{
this.UpMaterialId = UpMaterialId;
this.MachineId = MachineId;
this.PositionId = PositionId;
this.Rfid = Rfid;
this.Sfc = Sfc;
this.IsProduction = IsProduction;
this.RecordTime = RecordTime;
}
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true )]
public string Id { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "upMaterialId")]
public string UpMaterialId { get; set; }
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="machineId" )]
public int MachineId { get; set; }
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="positionId" )]
public int PositionId { get; set; }
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="rfid" )]
public string Rfid { get; set; }
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="sfc" )]
public string Sfc { get; set; }
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="is_production" )]
public int IsProduction { get; set; }
/// <summary>
///
/// 默认值:
///</summary>
[SugarColumn(ColumnName="recordTime")]
public string RecordTime { get; set; }
[SugarColumn(ColumnName = "eaValue")]
public int eaValue { get; set; }
[SugarColumn(ColumnName = "isFinish")]
public int isFinish { get; set; }
[SugarColumn(ColumnName = "beginTime")]
public string beginTime { get; set; }
[SugarColumn(ColumnName = "endTime")]
public string endTime { get; set; }
}
}