天津投入产出系统后端
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.
 
 
 
 
 
 

186 lines
5.8 KiB

using System;
using System.Data;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
namespace QMAPP.FJC.Entity.ProduceManage
{
/// <summary>
/// 模块编号:M4-1
/// 作 用:生产记录维护模型
/// 作 者:张敬贺
/// 编写日期:2015年06月04日
///</summary>
[DBTable(TableName = "T_AW_PRODUCEPLAN", TimeStampColumn = "UPDATEDATE")]
public class ProducePlan : BaseEntity
{
///<summary>
///
///</summary>
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///<summary>
///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:中控之间注塑 5:HUD风道注塑 6:冷刀弱化 7:火焰加工 8:预热 9:浇注 10:红外扫描 11:冲切 12:铣削 13:铆接 14:超时波焊接 15:红外焊接 16:总成装配)
///</summary>
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
///<summary>
///零件类别(0:表皮 1:骨架 3:气囊支架 4:开关支架 5:风道 6:HUD风道 7:格栅 8:中控支架)
///</summary>
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
public string PRODUCTTYPE { get; set; }
///<summary>
///颜色
///</summary>
[DBColumn(ColumnName = "COLOR", DataType = DbType.String)]
public string COLOR { get; set; }
///<summary>
///高低配
///</summary>
[DBColumn(ColumnName = "HB", DataType = DbType.String)]
public string HB { get; set; }
///<summary>
///设备码
///</summary>
[DBColumn(ColumnName = "MACHINECODE", DataType = DbType.String)]
public string MACHINECODE { get; set; }
///<summary>
///设备名称
///</summary>
[DBColumn(ColumnName = "MACHINENAME", DataType = DbType.String)]
public string MACHINENAME { get; set; }
///<summary>
///生产计划号
///</summary>
[DBColumn(ColumnName = "PLANCODE", DataType = DbType.String)]
public string PLANCODE { get; set; }
///<summary>
///生产线
///</summary>
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { get; set; }
///<summary>
///生产批次最小值
///</summary>
[DBColumn(ColumnName = "MINPRODUCECOUNT", DataType = DbType.Int32)]
public int MINPRODUCECOUNT { get; set; }
///<summary>
///生产数量
///</summary>
[DBColumn(ColumnName = "PRODUCECOUNT", DataType = DbType.Int32)]
public int PRODUCECOUNT { get; set; }
///<summary>
///完成数量
///</summary>
[DBColumn(ColumnName = "COMPLETECOUNT", DataType = DbType.Int32)]
public int COMPLETECOUNT { get; set; }
///<summary>
///计划状态(0:初始化 1:已完成)
///</summary>
[DBColumn(ColumnName = "PLANSTATUS", DataType = DbType.String)]
public string PLANSTATUS { get; set; }
///<summary>
///备注
///</summary>
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
public string MEMO { get; set; }
///<summary>
///班次信息编号
///</summary>
[DBColumn(ColumnName = "PRODUCESHIFTTCODE", DataType = DbType.String)]
public string PRODUCESHIFTTCODE { get; set; }
///<summary>
///生成方式(0:自动生成 1:人工生成)
///</summary>
[DBColumn(ColumnName = "CREATETYPE", DataType = DbType.String)]
public string CREATETYPE { get; set; }
///<summary>
///计划时间
///</summary>
[DBColumn(ColumnName = "PLANDATE", DataType = DbType.DateTime)]
public DateTime PLANDATE { 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 DateTime STARTCREATEDATE { get; set; }
public DateTime ENDCREATEDATE { 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; }
/// <summary>
/// 过时标记
/// </summary>
[DBColumn(ColumnName = "PASTFLAG", DataType = DbType.String)]
public string PASTFLAG { get; set; }
//统计字段
public string A_COUNT { get; set; }
public string A_COMPLETE { get; set; }
public string A_FACT { get; set; }
public string B_COUNT { get; set; }
public string B_COMPLETE { get; set; }
public string B_FACT { get; set; }
public string C_COUNT { get; set; }
public string C_COMPLETE { get; set; }
public string C_FACT { get; set; }
public string PLAN_TOTAL { get; set; }
public string COMPLETE_TOTAL { get; set; }
public string FACT_TOTAL { get; set; }
public string CreateDateStart { get; set; }
public string CreateDateEnd { get; set; }
}
}