using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
using QMAPP.FJC.Entity.Basic;
namespace QMAPP.FJC.Entity.Operation
{
///
/// 作 用:零件替换
/// 作 者:周晓东
/// 编写日期:20180516
///
[DBTable(TableName = "T_AW_PRODUCT_REPLACE")]
public class ProductReplace : BaseEntity
{
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
//主体件
[DBColumn(ColumnName = "MAIN_PID", DataType = DbType.String)]
public string MAIN_PID { get; set; }
///
///主体件 条码
///
[DBColumn(ColumnName = "MAIN_PRODUCTCODE", DataType = DbType.String)]
public string MAIN_PRODUCTCODE { get; set; }
///
///主体件 物料号
///
[DBColumn(ColumnName = "MAIN_MATERIAL_CODE", DataType = DbType.String)]
public string MAIN_MATERIAL_CODE { get; set; }
///
///物料号名称
///
public string MAIN_MATERIAL_NAME { get; set; }
///
///零件状态
///0:合格
///1:返修
///2:作废
///
[DBColumn(ColumnName = "MAIN_STATUS", DataType = DbType.String)]
public string MAIN_STATUS { get; set; }
//问题件
[DBColumn(ColumnName = "CHILD_PID", DataType = DbType.String)]
public string CHILD_PID { get; set; }
///
///问题件 条码
///
[DBColumn(ColumnName = "CHILD_PRODUCTCODE", DataType = DbType.String)]
public string CHILD_PRODUCTCODE { get; set; }
///
///问题件 物料号
///
[DBColumn(ColumnName = "CHILD_MATERIAL_CODE", DataType = DbType.String)]
public string CHILD_MATERIAL_CODE { get; set; }
///
///问题 物料号名称
///
public string CHILD_MATERIAL_NAME { get; set; }
///
///问题 零件状态
///0:合格
///1:返修
///2:作废
///
[DBColumn(ColumnName = "CHILD_STATUS", DataType = DbType.String)]
public string CHILD_STATUS { get; set; }
//替换件
[DBColumn(ColumnName = "REPLACE_PID", DataType = DbType.String)]
public string REPLACE_PID { get; set; }
///
///替换件 条码
///
[DBColumn(ColumnName = "REPLACE_PRODUCTCODE", DataType = DbType.String)]
public string REPLACE_PRODUCTCODE { get; set; }
///
///替换 零件状态
///0:合格
///1:返修
///2:作废
///
[DBColumn(ColumnName = "REPLACE_STATUS", DataType = DbType.String)]
public string REPLACE_STATUS { get; set; }
///
///创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///
///创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
public string CREATEDATESTART { get; set; }
public string CREATEDATEEND { get; set; }
}
}