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
{
///
/// 物料完成记录
///
[SugarTable("MATERIAL_COMPLETION", "AUCMA_SCADA")]
public class MaterialCompletion
{
///
/// 主键
///
[SugarColumn(ColumnName = "OBJ_ID", IsIdentity = true, IsPrimaryKey = true, OracleSequenceName = "SEQ_MATERIAL_COMPLETION")]
public int ObjId { get; set; }
///
/// 订单编号
///
[SugarColumn(ColumnName = "ORDER_CODE")]
public string OrderCode { get; set; }
///
/// 物料条码
///
[SugarColumn(ColumnName = "MATERIAL_BARCODE")]
public string MaterialBarcode { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "MATERIAL_CODE")]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "MATERIAL_NAME")]
public string MaterialName { get; set; }
///
/// 所属工位
///
[SugarColumn(ColumnName = "STATION_NAME")]
public string StationName { get; set; }
///
/// 完成时间
///
[SugarColumn(ColumnName = "COMPLETE_DATE")]
public DateTime CompleteDate { get; set; }
///
/// 工单编号
///
[SugarColumn(ColumnName = "PLAN_CODE")]
public string PlanCode { get; set; }
///
/// 产线编号
///
[SugarColumn(ColumnName = "PRODUCT_LINE_CODE")]
public string ProductLineCode { get; set; }
///
/// 是否成品下线(0-否;1-是)
///
[SugarColumn(ColumnName = "IS_DOWN_LINE")]
public int IsDownLine { get; set; }
}
}