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
{
[DBTable(TableName = "T_BD_PRODUCTINFO", TimeStampColumn = "UPDATEDATE")]
public class ProductInfo : BaseEntity
{
///
///主键
///
[Description("主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///零件号
///
[Description("零件号")]
[DBColumn(ColumnName = "PRODUCTMARK", DataType = DbType.String)]
public string PRODUCTMARK { get; set; }
///
///零件号描述
///
[Description("零件号描述")]
[DBColumn(ColumnName = "PRODUCTDESCRIPTION", DataType = DbType.String)]
public string PRODUCTDESCRIPTION { get; set; }
/////
/////区域主键
/////
//[Description("区域")]
//[DBColumn(ColumnName = "AREAID", DataType = DbType.String)]
//public string AREAID { get; set; }
///
///工厂主键
///
[Description("工厂")]
[DBColumn(ColumnName = "FACTORYID", DataType = DbType.String)]
public string FACTORYID { get; set; }
///
///零件类别主键
///
[Description("零件类别")]
[DBColumn(ColumnName = "PRODUCTBASICID", DataType = DbType.String)]
public string PRODUCTBASICID { get; set; }
///
///备注
///
[Description("备注")]
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
public string MEMO { 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 AREACODE { get; set; }
/////
///// 区域名
/////
//public string AREANAME { get; set; }
///
/// 工厂编号
///
public string FACTORY_CODE { get; set; }
///
/// 工厂名
///
public string FACTORY_NAME { get; set; }
///
///零件类别编码
///
public string PRODUCTTYPECODE { get; set; }
///
///零件名称
///
public string PRODUCTNAME { get; set; }
}
}