using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
using System.Data;
using System.ComponentModel;
namespace QMAPP.FJC.Entity.Basic
{
///
/// 模块编号:M13-1
/// 作 用:零件基本类别
/// 作 者:王庆男
/// 编写日期:2015年06月09日
///
[DBTable(TableName = "T_BD_PRODUCTBASIC", TimeStampColumn = "UPDATEDATE")]
public class ProductBasic:BaseEntity
{
///
///主键
///
[Description("主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///0:表皮
///1:骨架
///2:气囊支架
///3:开关支架
///4:风道
///5:HUD风道
///6:格栅
///7:中控支架
///8:本体
///9:金属支架
///10:右格栅
///11:HUD支架
///
[Description("零件类别值")]
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
public string PRODUCTTYPE { get; set; }
///
///零件类别编码
///
[Description("零件类别编码")]
[DBColumn(ColumnName = "PRODUCTTYPECODE", DataType = DbType.String)]
public string PRODUCTTYPECODE { get; set; }
///
///0:搪塑零件
//1:注塑零件
//2:其他
///
[DBColumn(ColumnName = "PRODUCTMAINTYPE", DataType = DbType.String)]
public string PRODUCTMAINTYPE { get; set; }
///
///零件名称
///
[Description("零件名称")]
[DBColumn(ColumnName = "PRODUCTNAME", DataType = DbType.String)]
public string PRODUCTNAME { get; set; }
///
///0:单体
///1:集合
///单位
///
[Description("单位")]
[DBColumn(ColumnName = "PRODUCTUNIT", DataType = DbType.String)]
public string PRODUCTUNIT { get; set; }
///
///0:自制
///1:外购
///来源
///
[Description("来源")]
[DBColumn(ColumnName = "PRODUCTSOURCE", DataType = DbType.String)]
public string PRODUCTSOURCE { get; set; }
///
///容量
///
[Description("容量")]
[DBColumn(ColumnName = "CAPATITY", DataType = DbType.Int32)]
public int CAPATITY { get; set; }
///
///删除标识
///
[Description("删除标识")]
[DBColumn(ColumnName = "DELFLAG", DataType = DbType.String)]
public string DELFLAG { get; set; }
///
///是否为父级
///
[Description("是否为父级")]
[DBColumn(ColumnName = "ISPARENT", DataType = DbType.String)]
public string ISPARENT { get; set; }
///
/// 创建用户
///
[Description("创建用户")]
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
///
/// 更新用户
///
[Description("更新用户")]
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///
/// 更新时间
///
[Description("更新时间")]
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 错误信息
///
public string InfoError { get; set; }
///
/// 导入时判断添加修改
///
public bool IsNewInfo { get; set; }
}
}