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

128 lines
3.9 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.FJC.Entity.Stocktaking
{
/// <summary>
/// 模块名称:物料
/// 作 者:郭兆福
/// 编写日期:2017年05月10日
/// </summary>
[DBTable(TableName = "T_MD_MATERIAL", TimeStampColumn = "UPDATEDATE")]
public class Material : BaseEntity
{
/// <summary>
/// 物料主键
/// </summary>
[Description("物料主键")]
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 物料分类编号
/// </summary>
[Description("物料分类编号")]
[DBColumn(ColumnName = "MATERIAL_TYPE_CODE", DataType = DbType.String)]
public string MATERIAL_TYPE_CODE { get; set; }
/// <summary>
/// 物料分类
/// </summary>
public string MATERIAL_TYPE_NAME { get; set; }
/// <summary>
/// 计量单位
/// </summary>
[Description("计量单位")]
[DBColumn(ColumnName = "UNIT_CODE", DataType = DbType.String)]
public string UNIT_CODE { get; set; }
/// <summary>
/// 物料号
/// </summary>
[Description("物料号")]
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
/// <summary>
/// 物料名称
/// </summary>
[Description("物料名称")]
[DBColumn(ColumnName = "MATERIAL_NAME", DataType = DbType.String)]
public string MATERIAL_NAME { get; set; }
/// <summary>
/// 厂商
/// </summary>
[Description("厂商")]
[DBColumn(ColumnName = "MATERIAL_COMP", DataType = DbType.String)]
public string MATERIAL_COMP { get; set; }
/// <summary>
/// 外购件标识
/// </summary>
[Description("外购件标识")]
[DBColumn(ColumnName = "OUTSOURCE", DataType = DbType.String)]
public string OUTSOURCE { get; set; }
/// <summary>
/// 外购件标识名称
/// </summary>
public string OUTSOURCE_NAME { get; set; }
// <summary>
/// 标准包装数量
/// </summary>
[Description("标准包装数量")]
[DBColumn(ColumnName = "STD_QTY", DataType = DbType.Int32)]
public int STD_QTY { 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; }
}
}