You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
1.9 KiB
C#
90 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Entity
|
|
{
|
|
/// <summary>
|
|
/// 实体类Pmt_material
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Pmt_material
|
|
{
|
|
#region 私有字段
|
|
|
|
private string _iD;
|
|
private string _material_code;
|
|
private string _material_name;
|
|
private string _remark;
|
|
private string _batch_number;
|
|
private string _barcode1;
|
|
private string _barcode2;
|
|
private string _barcode3;
|
|
|
|
#endregion
|
|
|
|
#region 公有属性
|
|
|
|
public string ID
|
|
{
|
|
get { return _iD; }
|
|
set { _iD = value; }
|
|
}
|
|
|
|
public string Material_code
|
|
{
|
|
get { return _material_code; }
|
|
set { _material_code = value; }
|
|
}
|
|
|
|
public string Material_name
|
|
{
|
|
get { return _material_name; }
|
|
set { _material_name = value; }
|
|
}
|
|
|
|
public string Remark
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
|
|
public string Batch_number
|
|
{
|
|
get { return _batch_number; }
|
|
set { _batch_number = value; }
|
|
}
|
|
|
|
public string Barcode1
|
|
{
|
|
get { return _barcode1; }
|
|
set { _barcode1 = value; }
|
|
}
|
|
|
|
public string Barcode2
|
|
{
|
|
get { return _barcode2; }
|
|
set { _barcode2 = value; }
|
|
}
|
|
|
|
public string Barcode3
|
|
{
|
|
get { return _barcode3; }
|
|
set { _barcode3 = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
/// <summary>
|
|
/// 重写ToString方法
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public override string ToString()
|
|
{
|
|
return String.Format("{0}", this.Material_name);
|
|
}
|
|
}
|
|
}
|