using Core.Mes.Client.Comm.Attribute;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Core.StlMes.Client.PnCost.Models
{
///
/// 数据库表COST_BASE_GRADE_PRICE所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:doubi-PC 时间:2016-10-20
///
public class CostBaseGradePriceEntity
{
///
/// 钢种代码(来源于钢种基础表COM_BASE_GRADE)
///
private string gradecode = "";
///
/// 钢种名称(来源于钢种基础表COM_BASE_GRADE)
///
private string gradename = "";
///
/// 产品规格代码(来源于规格基础表COM_BASE_SPEC中MSC_STYLE=‘B’的记录)
///
private string specCode = "";
///
/// 产品规格描述(来源于规格基础表COM_BASE_SPEC中MSC_STYLE=‘B’的记录)
///
private string specName = "";
///
/// 采购单价(元/吨)
///
private decimal? costPrice = null;
///
/// 创建人
///
private string createName = "";
///
/// 创建时间
///
private string createTime = "";
///
/// 修改人
///
private string updateName = "";
///
/// 修改时间
///
private string updateTime = "";
///
/// 删除人
///
private string deleteName = "";
///
/// 删除时间
///
private string deleteTime = "";
///
/// 有效标志(1:有效,0:无效)
///
private string validflag = "";
///
/// 备注
///
private string memo = "";
///
/// 无注释
///
private string wlId = "";
///
/// 无注释
///
private string wlDesc = "";
///
/// 无注释
///
private string balYearMonth = "";
///
/// 钢种代码(来源于钢种基础表COM_BASE_GRADE)
///
[Description("钢种代码(来源于钢种基础表COM_BASE_GRADE)")]
[Nullable(false)]
[DataLength(6)]
public string Gradecode
{
get { return gradecode; }
set { gradecode = value; }
}
///
/// 钢种名称(来源于钢种基础表COM_BASE_GRADE)
///
[Description("钢种名称(来源于钢种基础表COM_BASE_GRADE)")]
[Nullable(false)]
[DataLength(100)]
public string Gradename
{
get { return gradename; }
set { gradename = value; }
}
///
/// 产品规格代码(来源于规格基础表COM_BASE_SPEC中MSC_STYLE=‘B’的记录)
///
[Description("产品规格代码(来源于规格基础表COM_BASE_SPEC中MSC_STYLE=‘B’的记录)")]
[Nullable(false)]
[DataLength(7)]
public string SpecCode
{
get { return specCode; }
set { specCode = value; }
}
///
/// 产品规格描述(来源于规格基础表COM_BASE_SPEC中MSC_STYLE=‘B’的记录)
///
[Description("产品规格描述(来源于规格基础表COM_BASE_SPEC中MSC_STYLE=‘B’的记录)")]
[Nullable(false)]
[DataLength(100)]
public string SpecName
{
get { return specName; }
set { specName = value; }
}
///
/// 采购单价(元/吨)
///
[Description("采购单价(元/吨)")]
[Nullable(false)]
[DataLength(22)]
public decimal? CostPrice
{
get { return costPrice; }
set { costPrice = value; }
}
///
/// 创建人
///
[Description("创建人")]
[Nullable(true)]
[DataLength(20)]
public string CreateName
{
get { return createName; }
set { createName = value; }
}
///
/// 创建时间
///
[Description("创建时间")]
[Nullable(true)]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 修改人
///
[Description("修改人")]
[Nullable(true)]
[DataLength(20)]
public string UpdateName
{
get { return updateName; }
set { updateName = value; }
}
///
/// 修改时间
///
[Description("修改时间")]
[Nullable(true)]
public string UpdateTime
{
get { return updateTime; }
set { updateTime = value; }
}
///
/// 删除人
///
[Description("删除人")]
[Nullable(true)]
[DataLength(20)]
public string DeleteName
{
get { return deleteName; }
set { deleteName = value; }
}
///
/// 删除时间
///
[Description("删除时间")]
[Nullable(true)]
public string DeleteTime
{
get { return deleteTime; }
set { deleteTime = value; }
}
///
/// 有效标志(1:有效,0:无效)
///
[Description("有效标志")]
[Nullable(false)]
[DataLength(1)]
public string Validflag
{
get { return validflag; }
set { validflag = value; }
}
///
/// 备注
///
[Description("备注")]
[Nullable(true)]
[DataLength(500)]
public string Memo
{
get { return memo; }
set { memo = value; }
}
///
/// 无注释
///
[Description("物料编码")]
[Nullable(false)]
[DataLength(40)]
public string WlId
{
get { return wlId; }
set { wlId = value; }
}
///
/// 无注释
///
[Description("物料")]
[Nullable(true)]
[DataLength(100)]
public string WlDesc
{
get { return wlDesc; }
set { wlDesc = value; }
}
///
/// 无注释
///
[Description("年月")]
[Nullable(false)]
[DataLength(6)]
public string BalYearMonth
{
get { return balYearMonth; }
set { balYearMonth = value; }
}
}
}