using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
using System.Data;
namespace QMAPP.FJC.Entity.ProduceManage
{
[DBTable(TableName = "T_AW_SCRAPRECORDER")]
public class ScrapRecord : BaseEntity
{
///
///报废记录主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///产品主键
///
[DBColumn(ColumnName = "PPID", DataType = DbType.String)]
public string PPID { get; set; }
///
///产品条码查询条件
///
[DBColumn(ColumnName = "PRODUCTCODE", DataType = DbType.String)]
public string PRODUCTCODE { get; set; }
///
/// 产品条码查询报废信息
///
public string PRODUCTCODETXT { get; set; }
///
///零件分类(0:表皮
//1:骨架
//2:气囊支架
//3:开关支架
//4:风道
//5:HUD风道
//6:格栅
//7:中控支架
//8:本体
//9:金属支架)
///
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
public string PRODUCTTYPE { get; set; }
public string PRODUCTTYPETXT { get; set; }
///
/// 模架号
///
[DBColumn(ColumnName = "MOLDNUMBER", DataType = DbType.String)]
public string MOLDNUMBER { get; set; }
///
///当前工序(0:搪塑
//1:骨架注塑
//2:气囊支架注塑
//3:风道注塑
//4:中控之间注塑
//5:HUD风道注塑
//6:冷刀弱化
//7:火焰加工
//8:预热
//9:浇注
//10:红外扫描
//11:冲切
//12:铣削
//13:铆接
//14:超时波焊接
//15:红外焊接
//16:总成装配)
///
[DBColumn(ColumnName = "CURRENTPROCESS", DataType = DbType.String)]
public string CURRENTPROCESS { get; set; }
public string CURRENTPROCESSTXT { get; set; }
///
///生产线
///
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { get; set; }
///
///班次信息名称
///
[DBColumn(ColumnName = "PRODUCESHIFTNAME", DataType = DbType.String)]
public string PRODUCESHIFTNAME { get; set; }
///
///班次信息编号
///
[DBColumn(ColumnName = "PRODUCESHIFTTCODE", DataType = DbType.String)]
public string PRODUCESHIFTTCODE { get; set; }
///
///报废原因
///
[DBColumn(ColumnName = "MENDREASON", DataType = DbType.String)]
public string SCRAPREASON { get; set; }
public string SCRAPREASONTXT { get; set; }
/////
/////返修方式
/////
//[DBColumn(ColumnName = "MENDTYPE", DataType = DbType.String)]
//public string MENDTYPE { get; set; }
//public string MENDTYPETXT { get; set; }
/////
/////返修结果(0:合格 2:报废)
/////
//[DBColumn(ColumnName = "MENDRESULT", DataType = DbType.String)]
//public string MENDRESULT { get; set; }
//public string MENDRESULTTXT { get; set; }
///
///登记状态
///
[DBColumn(ColumnName = "REGISTERSTATUS", DataType = DbType.String)]
public string REGISTERSTATUS { get; set; }
public string REGISTERSTATUSTXT { 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; }
///
///更新用户
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///
///更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
#region 扩展字段
///
/// 物料号
///
public string MATERIALCODE { get; set; }
///
/// 产品状态
///
public string STATUS { get; set; }
public string STATUSTXT { get; set; }
///
/// 零件分类
///
public string HORIZONTAL { get; set; }
///
/// 零件分类
///
public string VERTICAL { get; set; }
#endregion
///
///
///
public List reasonList { get; set; }
///
/// 缺陷类型
///
public string DEFECTVALUE { get; set; }
///
/// 缺陷位置
///
public string POSITION { get; set; }
///
/// 日期信息
///
public string DAYVALUE { get; set; }
public int QUATITY { get; set; }
public int COUNTVALUE { get; set; }
public int SUMVALUE { get; set; }
}
}