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

126 lines
4.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
using System.ComponentModel;
using System.Data;
namespace QMAPP.MD.Entity
{
/// <summary>
/// 模块名称:物料分类
/// 作 者:郭兆福
/// 编写日期:2017年05月10日
/// </summary>
[DBTable(TableName = "T_MD_MATERIAL_CLASS", TimeStampColumn = "UPDATEDATE")]
public class MaterialClass : BaseEntity
{
/// <summary>
/// 物料分类主键
/// </summary>
[Description("物料分类主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
/// <summary>
/// 工厂名称
/// </summary>
public string FACTORY_NAME { get; set; }
/// <summary>
/// 物料分类编号
/// </summary>
[Description("物料分类编号")]
[DBColumn(ColumnName = "MATERIAL_TYPE_CODE", DataType = DbType.String)]
public string MATERIAL_TYPE_CODE { get; set; }
/// <summary>
/// 物料分类名称
/// </summary>
[Description("物料分类名称")]
[DBColumn(ColumnName = "MATERIAL_TYPE_NAME", DataType = DbType.String)]
public string MATERIAL_TYPE_NAME { get; set; }
/// <summary>
/// 物料属性
/// 0:分总成/半成品/中间件 1:注塑件 2:总成 3:原材料 4:虚拟物料
/// </summary>
[Description("物料属性")]
[DBColumn(ColumnName = "MATERIAL_ATTRIBUTE", DataType = DbType.String)]
public string MATERIAL_ATTRIBUTE { get; set; }
public string MaterialAttributes { get; set; }
/// <summary>
/// 层级
/// </summary>
[Description("层级")]
[DBColumn(ColumnName = "LAYER_NUM", DataType = DbType.Int32)]
public int LAYER_NUM { get; set; }
/// <summary>
/// 序号
/// </summary>
[Description("序号")]
[DBColumn(ColumnName = "SEQ_NUM", DataType = DbType.Int32)]
public int SEQ_NUM { get; set; }
/// <summary>
/// 上级物料编码
/// </summary>
[Description("上级物料编码")]
[DBColumn(ColumnName = "UP_MATERIAL_TYPE_CODE", DataType = DbType.String)]
public string UP_MATERIAL_TYPE_CODE { get; set; }
/// <summary>
/// 描述
/// </summary>
[Description("描述")]
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { 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; }
/// <summary>
/// 更新时间
/// </summary>
[Description("更新时间")]
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 删除标识
/// </summary>
[Description("删除标识")]
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FLGDEL { get; set; }
public string UpTypeCodes { get; set; }
}
}