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.
370 lines
10 KiB
370 lines
10 KiB
using System;
|
|
using System.Data;
|
|
using QMAPP.Entity;
|
|
using QMFrameWork.Data.Attributes;
|
|
using System.Collections.Generic;
|
|
namespace QMAPP.FJC.Entity.ProduceManage
|
|
{
|
|
///</summary>
|
|
/// 模块编号:
|
|
/// 作 用:返修记录
|
|
/// 作 者:王庆男
|
|
/// 编写日期:2015年06月24日
|
|
///</summary>
|
|
[DBTable(TableName = "T_AW_MENDRECORDER")]
|
|
public class MendRecorder : 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>
|
|
/// 报废数量
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "MENDNUMBER", DataType = DbType.Int32)]
|
|
public int MENDNUMBER { 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; }
|
|
//生产班次
|
|
[DBColumn(ColumnName = "SHIFT_CODE", DataType = DbType.String)]
|
|
public string SHIFT_CODE { get; set; }
|
|
|
|
//生产班组
|
|
public string TEAM_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///批次号
|
|
///</summary>
|
|
[DBColumn(ColumnName = "BATCH_NO", DataType = DbType.String)]
|
|
public string BATCH_NO { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///返修原因
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MENDREASON", DataType = DbType.String)]
|
|
public string MENDREASON { get; set; }
|
|
public string MENDREASONTXT { 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; }
|
|
|
|
///<summary>
|
|
///物料类别
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MATERIAL_TYPE_CODE", DataType = DbType.String)]
|
|
public string MATERIAL_TYPE_CODE { get; set; }
|
|
public string MATERIAL_TYPE_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///物料号
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
|
|
public string MATERIAL_CODE { get; set; }
|
|
public string MATERIAL_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///工作中心
|
|
///</summary>
|
|
[DBColumn(ColumnName = "WORKCENTER_CODE", DataType = DbType.String)]
|
|
public string WORKCENTER_CODE { get; set; }
|
|
public string WORKCENTER_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///责任方
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MENDDUTY", DataType = DbType.String)]
|
|
public string MENDDUTY { get; set; }
|
|
|
|
///<summary>
|
|
///是否测试件
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MENDTEST", DataType = DbType.String)]
|
|
public string MENDTEST { get; set; }
|
|
|
|
///<summary>
|
|
///工序
|
|
///</summary>
|
|
[DBColumn(ColumnName = "WORKCELL_CODE", DataType = DbType.String)]
|
|
public string WORKCELL_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///设备
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
|
|
public string MACHINECODDE { get; set; }
|
|
public string MACHINENAME { get; set; }
|
|
///<summary>
|
|
///废品类别
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_MFGCODETYPE", DataType = DbType.String)]
|
|
public string ERP_MFGCODETYPE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///车型代码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_CAR", DataType = DbType.String)]
|
|
public string ERP_CAR { get; set; }
|
|
|
|
public string PROJECTCODE { get; set; }
|
|
|
|
///<summary>
|
|
///生产线代码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_WORKLINE", DataType = DbType.String)]
|
|
public string ERP_WORKLINE { get; set; }
|
|
///<summary>
|
|
///班组代码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_SHIFT", DataType = DbType.String)]
|
|
public string ERP_SHIFT { get; set; }
|
|
///<summary>
|
|
///工序代码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_WORKCELL", DataType = DbType.String)]
|
|
public string ERP_WORKCELL { get; set; }
|
|
///<summary>
|
|
///缺陷归属
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_DEFECTTO", DataType = DbType.String)]
|
|
public string ERP_DEFECTTO { get; set; }
|
|
///<summary>
|
|
///产品类别代码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_PRODUCTTYPE", DataType = DbType.String)]
|
|
public string ERP_PRODUCTTYPE { get; set; }
|
|
///<summary>
|
|
///缺陷代码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ERP_DEFECTCODE", DataType = DbType.String)]
|
|
public string ERP_DEFECTCODE { get; set; }
|
|
|
|
//报废类型编码
|
|
public string ERP_TYPE_CODE { get; set; }
|
|
|
|
public string ERP_CODE { get; set; }
|
|
public string ERP_NAME { get; set; }
|
|
|
|
//所有erpcode汇总
|
|
public string ERPS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 处理方法
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "HANDLEMETHOD", DataType = DbType.String)]
|
|
public string HANDLEMETHOD { get; set; }
|
|
public string HANDLEMETHODTXT { get; set; }
|
|
|
|
//生产件/采购价
|
|
public string OUTSOURCE { get; set; }
|
|
|
|
//导出表名
|
|
public string TableName { get; set; }
|
|
|
|
public string PIDS { get; set; }
|
|
|
|
public string PIDList { get; set; }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|