|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Security.Principal;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Scada.Model.domain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料完成记录
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("MATERIAL_COMPLETION", "AUCMA_SCADA")]
|
|
|
|
|
public class MaterialCompletion
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_MATERIAL_COMPLETION")]
|
|
|
|
|
public int ObjId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ORDER_CODE")]
|
|
|
|
|
public string OrderCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料条码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_BARCODE")]
|
|
|
|
|
public string MaterialBarcode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_CODE")]
|
|
|
|
|
public string MaterialCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_NAME")]
|
|
|
|
|
public string MaterialName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属工位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "STATION_NAME")]
|
|
|
|
|
public string StationName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 完成时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "COMPLETE_DATE")]
|
|
|
|
|
public DateTime CompleteDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工单编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLAN_CODE")]
|
|
|
|
|
public string PlanCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产线编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PRODUCT_LINE_CODE")]
|
|
|
|
|
public string ProductLineCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否成品下线(0-否;1-是)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "IS_DOWN_LINE")]
|
|
|
|
|
public int IsDownLine { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|