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.
201 lines
5.9 KiB
201 lines
5.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.MD.Entity
|
|
{
|
|
/// <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>
|
|
[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 = "PROJECTCODE", DataType = DbType.String)]
|
|
public string PROJECTCODE { get; set; }
|
|
|
|
public string PROJECT_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 颜色
|
|
/// </summary>
|
|
[Description("颜色")]
|
|
[DBColumn(ColumnName = "COLOR", DataType = DbType.String)]
|
|
public string COLOR { get; set; }
|
|
public string COLORCHINESE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 配置
|
|
/// </summary>
|
|
[Description("配置")]
|
|
[DBColumn(ColumnName = "HBTYPE", DataType = DbType.String)]
|
|
public string HBTYPE { get; set; }
|
|
public string HBTYPECHINESE { 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; }
|
|
public string MaterialCodes { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 物料名称
|
|
/// </summary>
|
|
[Description("物料名称")]
|
|
[DBColumn(ColumnName = "MATERIAL_NAME", DataType = DbType.String)]
|
|
public string MATERIAL_NAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料简称
|
|
/// </summary>
|
|
[Description("物料简称")]
|
|
[DBColumn(ColumnName = "MATERIAL_SHORT", DataType = DbType.String)]
|
|
public string MATERIAL_SHORT { 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; }
|
|
public string CREATEUSERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Description("创建时间")]
|
|
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
|
|
public DateTime CREATEDATE { get; set; }
|
|
public string 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; }
|
|
|
|
|
|
///<summary>
|
|
///重量
|
|
///</summary>
|
|
public int WEIGHT { get; set; }
|
|
|
|
/// <summary>
|
|
/// 订单类型
|
|
/// </summary>
|
|
public string ORDER_TYPE { get; set; }
|
|
|
|
//物料类型
|
|
public string MATERIAL_ATTRIBUTE { get; set; }
|
|
|
|
|
|
//物料属性
|
|
public string MATERIALTYPES { get; set; }
|
|
// <summary>
|
|
/// 上传图片
|
|
/// </summary>
|
|
public string IMAGE_PATH { get; set; }
|
|
public string AsmSetCode { get; set; }
|
|
|
|
}
|
|
}
|
|
|