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.
138 lines
4.1 KiB
138 lines
4.1 KiB
4 years ago
|
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
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 模块编号:M2-1
|
||
|
/// 作 用:物料号数据模型
|
||
|
/// 作 者:王丹丹
|
||
|
/// 编写日期:2015年05月26日
|
||
|
///</summary>
|
||
|
[DBTable(TableName = "T_BD_MATERIALINFO", TimeStampColumn = "UPDATEDATE")]
|
||
|
public class Materiel : BaseEntity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 原材料号主键
|
||
|
/// </summary>
|
||
|
[Description("原材料号主键")]
|
||
|
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 原材料号名称
|
||
|
/// </summary>
|
||
|
[Description("原材料号名称")]
|
||
|
[DBColumn(ColumnName = "MATERIALNAME", DataType = DbType.String)]
|
||
|
public string MATERIALNAME { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 原材料号
|
||
|
/// </summary>
|
||
|
[Description("原材料号")]
|
||
|
[DBColumn(ColumnName = "MATERIALNO", DataType = DbType.String)]
|
||
|
public string MATERIALNO { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 原材料类别
|
||
|
/// </summary>
|
||
|
[Description("原材料类别")]
|
||
|
[DBColumn(ColumnName = "MATERIALTYPE", DataType = DbType.String)]
|
||
|
public string MATERIALTYPE { get; set; }
|
||
|
public string MATERIALTYPETXT { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 工序类别
|
||
|
/// </summary>
|
||
|
[Description("工序类别")]
|
||
|
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
|
||
|
public string PROCESSTYPE { get; set; }
|
||
|
public string PROCESSTYPETXT { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///重量
|
||
|
///</summary>
|
||
|
[Description("重量(KG)")]
|
||
|
[DBColumn(ColumnName = "WEIGHT", DataType = DbType.Int32)]
|
||
|
public int WEIGHT { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///颜色
|
||
|
///</summary>
|
||
|
[Description("颜色")]
|
||
|
[DBColumn(ColumnName = "COLOR", DataType = DbType.String)]
|
||
|
public string COLOR { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 高低配
|
||
|
/// </summary>
|
||
|
[Description("高低配")]
|
||
|
[DBColumn(ColumnName = "HAndL", DataType = DbType.String)]
|
||
|
public string HAndL { get; set; }
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///有效期
|
||
|
///</summary>
|
||
|
[Description("有效期(月)")]
|
||
|
[DBColumn(ColumnName = "LIMITTIME", DataType = DbType.Int32)]
|
||
|
public int LIMITTIME { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///生产线
|
||
|
///</summary>
|
||
|
[Description("生产线")]
|
||
|
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
|
||
|
public string PRODUCELINE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 备注
|
||
|
/// </summary>
|
||
|
[Description("备注")]
|
||
|
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
|
||
|
public string MEMO { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建用户
|
||
|
/// </summary>
|
||
|
[Description("创建用户")]
|
||
|
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
|
||
|
public string CREATEUSER { get; set; }
|
||
|
public string CREATEUSERNAME { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建时间
|
||
|
/// </summary>
|
||
|
[Description("创建时间")]
|
||
|
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
|
||
|
public DateTime CREATEDATE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新用户
|
||
|
/// </summary>
|
||
|
[Description("更新用户")]
|
||
|
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
|
||
|
public string UPDATEUSER { get; set; }
|
||
|
public string UPDATEUSERNAME { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 更新时间
|
||
|
/// </summary>
|
||
|
[Description("更新时间")]
|
||
|
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
|
||
|
public DateTime UPDATEDATE { get; set; }
|
||
|
}
|
||
|
}
|