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.Mcp.Entity
{
public class JgPurchasePlanEntity
{
///
/// 主键ID
///
private string id = "";
///
/// 主键ID
///
[Description("主键ID")]
[Nullable(false)]
[DataLength(32)]
public string Id
{
get { return id; }
set { id = value; }
}
///
/// 接箍个数
///
private String quantity = "";
///
/// 接箍个数
///
[Description("接箍个数")]
[Nullable(false)]
public String Quantity
{
get { return quantity; }
set { quantity = value; }
}
///
/// 外径
///
private string outerDiameter = "";
///
/// 外径
///
[Description("外径")]
[Nullable(true)]
public string OuterDiameter
{
get { return outerDiameter; }
set { outerDiameter = value; }
}
///
/// 壁厚
///
private string wallThickness = "";
///
/// 壁厚
///
[Description("壁厚")]
[Nullable(true)]
public string WallThickness
{
get { return wallThickness; }
set { wallThickness = value; }
}
///
/// 钢级
///
private string sgSign = "";
///
/// 钢级
///
[Description("钢级")]
[Nullable(true)]
[DataLength(50)]
public string SgSign
{
get { return sgSign; }
set { sgSign = value; }
}
///
/// 钢级代码
///
private string sgSignCode = "";
///
/// 钢级代码
///
[Description("钢级代码")]
[Nullable(true)]
[DataLength(20)]
public string SgSignCode
{
get { return sgSignCode; }
set { sgSignCode = value; }
}
///
/// 钢种
///
private string steelType = "";
///
/// 钢种
///
[Description("钢种")]
[Nullable(true)]
[DataLength(100)]
public string SteelType
{
get { return steelType; }
set { steelType = value; }
}
///
/// 接箍规格描述
///
private string spec = "";
///
/// 接箍规格描述
///
[Description("接箍规格描述")]
[Nullable(true)]
[DataLength(200)]
public string Spec
{
get { return spec; }
set { spec = value; }
}
///
/// 接箍规格编码
///
private string specNo = "";
///
/// 接箍规格编码
///
[Description("接箍规格编码")]
[Nullable(true)]
[DataLength(50)]
public string SpecNo
{
get { return specNo; }
set { specNo = value; }
}
///
/// 扣型描述
///
private string buckleType = "";
///
/// 扣型描述
///
[Description("扣型描述")]
[Nullable(true)]
[DataLength(100)]
public string BuckleType
{
get { return buckleType; }
set { buckleType = value; }
}
///
/// 扣型编码
///
private string buckleTypeCode = "";
///
/// 扣型编码
///
[Description("扣型编码")]
[Nullable(true)]
[DataLength(20)]
public string BuckleTypeCode
{
get { return buckleTypeCode; }
set { buckleTypeCode = value; }
}
///
/// 标准
///
private string sgStd = "";
///
/// 标准
///
[Description("标准")]
[Nullable(true)]
[DataLength(100)]
public string SgStd
{
get { return sgStd; }
set { sgStd = value; }
}
///
/// 标准代码
///
private string sgStdCode = "";
///
/// 标准代码
///
[Description("标准代码")]
[Nullable(true)]
[DataLength(20)]
public string SgStdCode
{
get { return sgStdCode; }
set { sgStdCode = value; }
}
///
/// 长度
///
private string length = "";
///
/// 长度
///
[Description("长度")]
[Nullable(true)]
public string Length
{
get { return length; }
set { length = value; }
}
///
/// 计划号
///
private string planno = "";
///
/// 计划号
///
[Description("计划号")]
[Nullable(false)]
[DataLength(20)]
public string Planno
{
get { return planno; }
set { planno = value; }
}
///
/// 状态:0计划、1已下发、2完毕
///
private string status = "";
///
/// 状态:0计划、1已下发、2完毕
///
[Description("状态")]
[Nullable(false)]
public string Status
{
get { return status; }
set { status = value; }
}
///
/// 采购合同号
///
private string contractNo = "";
///
/// 采购合同号
///
[Description("采购合同号")]
[Nullable(true)]
[DataLength(50)]
public string ContractNo
{
get { return contractNo; }
set { contractNo = value; }
}
///
/// 创建人
///
private string creator = "";
///
/// 创建人
///
[Description("创建人")]
[Nullable(false)]
[DataLength(50)]
public string Creator
{
get { return creator; }
set { creator = value; }
}
///
/// 创建时间
///
private string createTime = "";
///
/// 创建时间
///
[Description("创建时间")]
[Nullable(false)]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 备注
///
private string remark = "";
///
/// 备注
///
[Description("备注")]
[Nullable(true)]
[DataLength(500)]
public string Remark
{
get { return remark; }
set { remark = value; }
}
}
// 创建专门的查询参数类
// 前端查询参数类
public class JgPurchasePlanQueryParams
{
public string Planno { get; set; }
public int? Status { get; set; }
public string ContractNo { get; set; }
public string SgSign { get; set; }
public string Spec { get; set; }
public string BuckleType { get; set; }
public string SgStd { get; set; }
public string CreateTimeStart { get; set; }
public string CreateTimeEnd { get; set; }
public string ModifyTimeStart { get; set; }
public string ModifyTimeEnd { get; set; }
public int? PageSize { get; set; }
public int? PageNum { get; set; }
public string SortField { get; set; }
public string SortOrder { get; set; }
}
}