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