using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
using System.ComponentModel;
using System.Data;
namespace QMAPP.FJC.Entity.Basic
{
///
/// 模块编号:M2-1
/// 作 用:物料号数据模型
/// 作 者:王丹丹
/// 编写日期:2015年05月26日
///
[DBTable(TableName = "T_BD_MATERIALINFO", TimeStampColumn = "UPDATEDATE")]
public class Materiel : BaseEntity
{
///
/// 原材料号主键
///
[Description("原材料号主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 原材料号名称
///
[Description("原材料号名称")]
[DBColumn(ColumnName = "MATERIALNAME", DataType = DbType.String)]
public string MATERIALNAME { get; set; }
///
/// 原材料号
///
[Description("原材料号")]
[DBColumn(ColumnName = "MATERIALNO", DataType = DbType.String)]
public string MATERIALNO { get; set; }
///
/// 原材料类别
///
[Description("原材料类别")]
[DBColumn(ColumnName = "MATERIALTYPE", DataType = DbType.String)]
public string MATERIALTYPE { get; set; }
public string MATERIALTYPETXT { get; set; }
///
/// 工序类别
///
[Description("工序类别")]
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
public string PROCESSTYPETXT { get; set; }
///
///重量
///
[Description("重量(KG)")]
[DBColumn(ColumnName = "WEIGHT", DataType = DbType.Int32)]
public int WEIGHT { get; set; }
///
///颜色
///
[Description("颜色")]
[DBColumn(ColumnName = "COLOR", DataType = DbType.String)]
public string COLOR { get; set; }
///
/// 高低配
///
[Description("高低配")]
[DBColumn(ColumnName = "HAndL", DataType = DbType.String)]
public string HAndL { get; set; }
///
///有效期
///
[Description("有效期(月)")]
[DBColumn(ColumnName = "LIMITTIME", DataType = DbType.Int32)]
public int LIMITTIME { get; set; }
///
///生产线
///
[Description("生产线")]
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { 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; }
}
}