天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
3.6 KiB

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
{
///<summary>
/// 作 用:零件替换
/// 作 者:周晓东
/// 编写日期:20180516
///</summary>
[DBTable(TableName = "T_AW_PRODUCT_REPLACE")]
public class ProductReplace : BaseEntity
{
///<summary>
///主键
///</summary>
[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; }
///<summary>
///主体件 条码
///</summary>
[DBColumn(ColumnName = "MAIN_PRODUCTCODE", DataType = DbType.String)]
public string MAIN_PRODUCTCODE { get; set; }
///<summary>
///主体件 物料号
///</summary>
[DBColumn(ColumnName = "MAIN_MATERIAL_CODE", DataType = DbType.String)]
public string MAIN_MATERIAL_CODE { get; set; }
///<summary>
///物料号名称
///</summary>
public string MAIN_MATERIAL_NAME { get; set; }
///<summary>
///零件状态
///0:合格
///1:返修
///2:作废
///</summary>
[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; }
///<summary>
///问题件 条码
///</summary>
[DBColumn(ColumnName = "CHILD_PRODUCTCODE", DataType = DbType.String)]
public string CHILD_PRODUCTCODE { get; set; }
///<summary>
///问题件 物料号
///</summary>
[DBColumn(ColumnName = "CHILD_MATERIAL_CODE", DataType = DbType.String)]
public string CHILD_MATERIAL_CODE { get; set; }
///<summary>
///问题 物料号名称
///</summary>
public string CHILD_MATERIAL_NAME { get; set; }
///<summary>
///问题 零件状态
///0:合格
///1:返修
///2:作废
///</summary>
[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; }
///<summary>
///替换件 条码
///</summary>
[DBColumn(ColumnName = "REPLACE_PRODUCTCODE", DataType = DbType.String)]
public string REPLACE_PRODUCTCODE { get; set; }
///<summary>
///替换 零件状态
///0:合格
///1:返修
///2:作废
///</summary>
[DBColumn(ColumnName = "REPLACE_STATUS", DataType = DbType.String)]
public string REPLACE_STATUS { get; set; }
///<summary>
///创建用户
///</summary>
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///<summary>
///创建时间
///</summary>
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
public string CREATEDATESTART { get; set; }
public string CREATEDATEEND { get; set; }
}
}