395 lines
11 KiB
C#
395 lines
11 KiB
C#
|
|
using System;
|
|||
|
|
using WMS.Attirubte;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
|
|||
|
|
namespace WMS.Model.Stock
|
|||
|
|
{
|
|||
|
|
[Serializable]
|
|||
|
|
[TableClmAttribute(TableName = "T_STOCK_AREA_REP")]
|
|||
|
|
public class AreaRepModel
|
|||
|
|
{
|
|||
|
|
#region Model
|
|||
|
|
|
|||
|
|
private Boolean _ischeck;//第一列复选框
|
|||
|
|
[DisplayName("选择")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public Boolean IsCheck
|
|||
|
|
{
|
|||
|
|
get { return _ischeck; }
|
|||
|
|
set { _ischeck = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private string _area_rep_id = string.Empty;
|
|||
|
|
private decimal _total_plan_num = 0;
|
|||
|
|
private decimal _real_plan_num = 0;
|
|||
|
|
private string _create_person = string.Empty;
|
|||
|
|
private string _confirm_person = string.Empty;
|
|||
|
|
private string _out_person = string.Empty;
|
|||
|
|
private string _in_person = string.Empty;
|
|||
|
|
private DateTime _create_time = System.DateTime.Now;
|
|||
|
|
private DateTime _confirm_time = System.DateTime.Now;
|
|||
|
|
private DateTime _out_time = DateTime.Parse("1900-01-01");
|
|||
|
|
private DateTime _in_time = DateTime.Parse("1900-01-01");
|
|||
|
|
private string _state = string.Empty;
|
|||
|
|
private string _reason = string.Empty;
|
|||
|
|
private string _remark = string.Empty;
|
|||
|
|
private string _create_person_name = string.Empty;
|
|||
|
|
private string _confirm_person_name = string.Empty;
|
|||
|
|
private string _out_person_name = string.Empty;
|
|||
|
|
private string _in_person_name = string.Empty;
|
|||
|
|
private string _storage_id = string.Empty;
|
|||
|
|
private string _storage_name = string.Empty;
|
|||
|
|
private string _out_area_id = string.Empty;
|
|||
|
|
private string _out_area_name = string.Empty;
|
|||
|
|
private string _in_area_id = string.Empty;
|
|||
|
|
private string _in_area_name = string.Empty;
|
|||
|
|
private string _create_method = string.Empty;
|
|||
|
|
private string _document_person = string.Empty;
|
|||
|
|
private DateTime _document_time = DateTime.Parse("1900-01-01");
|
|||
|
|
private decimal _print_count = 0;
|
|||
|
|
private string _document_person_id = string.Empty;
|
|||
|
|
/// <summary>
|
|||
|
|
/// 库区间调拨单编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("单号")]
|
|||
|
|
public string AREA_REP_ID
|
|||
|
|
{
|
|||
|
|
set { _area_rep_id = value; }
|
|||
|
|
get { return _area_rep_id; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 计划出库总数
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Qty")]
|
|||
|
|
public decimal TOTAL_PLAN_NUM
|
|||
|
|
{
|
|||
|
|
set { _total_plan_num = value; }
|
|||
|
|
get { return _total_plan_num; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实际入库总数
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Real Qty")]
|
|||
|
|
public decimal REAL_PLAN_NUM
|
|||
|
|
{
|
|||
|
|
set { _real_plan_num = value; }
|
|||
|
|
get { return _real_plan_num; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 仓库编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("仓库编号")]
|
|||
|
|
|
|||
|
|
public string STORAGE_ID
|
|||
|
|
{
|
|||
|
|
set { _storage_id = value; }
|
|||
|
|
get { return _storage_id; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 仓库
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("仓库")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string STORAGE_NAME
|
|||
|
|
{
|
|||
|
|
set { _storage_name = value; }
|
|||
|
|
get { return _storage_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库库区编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("出库库区编号")]
|
|||
|
|
public string OUT_AREA_ID
|
|||
|
|
{
|
|||
|
|
set { _out_area_id = value; }
|
|||
|
|
get { return _out_area_id; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库库区
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("出库库区")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string OUT_AREA_NAME
|
|||
|
|
{
|
|||
|
|
set { _out_area_name = value; }
|
|||
|
|
get { return _out_area_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库库区编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("入库库区编号")]
|
|||
|
|
public string IN_AREA_ID
|
|||
|
|
{
|
|||
|
|
set { _in_area_id = value; }
|
|||
|
|
get { return _in_area_id; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库库区
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("入库库区")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string IN_AREA_NAME
|
|||
|
|
{
|
|||
|
|
set { _in_area_name = value; }
|
|||
|
|
get { return _in_area_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("创建人")]
|
|||
|
|
|
|||
|
|
public string CREATE_PERSON
|
|||
|
|
{
|
|||
|
|
set { _create_person = value; }
|
|||
|
|
get { return _create_person; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("创建人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string CREATE_PERSON_NAME
|
|||
|
|
{
|
|||
|
|
set { _create_person_name = value; }
|
|||
|
|
get { return _create_person_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 审核人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("审核人")]
|
|||
|
|
[TableClmAttribute(JoinTableClmName = "NAME", JoinTableClm = "USER_ID", ClmJoinTable = "T_BASE_USERINFO")]
|
|||
|
|
public string CONFIRM_PERSON
|
|||
|
|
{
|
|||
|
|
set { _confirm_person = value; }
|
|||
|
|
get { return _confirm_person; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 审核人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("审核人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string CONFIRM_PERSON_NAME
|
|||
|
|
{
|
|||
|
|
set { _confirm_person_name = value; }
|
|||
|
|
get { return _confirm_person_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("出库人")]
|
|||
|
|
[TableClmAttribute(JoinTableClmName = "NAME", JoinTableClm = "USER_ID", ClmJoinTable = "T_BASE_USERINFO")]
|
|||
|
|
public string OUT_PERSON
|
|||
|
|
{
|
|||
|
|
set { _out_person = value; }
|
|||
|
|
get { return _out_person; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("出库人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string OUT_PERSON_NAME
|
|||
|
|
{
|
|||
|
|
set { _out_person_name = value; }
|
|||
|
|
get { return _out_person_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 交接人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("交接人")]
|
|||
|
|
[TableClmAttribute(JoinTableClmName = "NAME", JoinTableClm = "USER_ID", ClmJoinTable = "T_BASE_USERINFO")]
|
|||
|
|
public string IN_PERSON
|
|||
|
|
{
|
|||
|
|
set { _in_person = value; }
|
|||
|
|
get { return _in_person; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 交接人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("交接人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string IN_PERSON_NAME
|
|||
|
|
{
|
|||
|
|
set { _in_person_name = value; }
|
|||
|
|
get { return _in_person_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("create time")]
|
|||
|
|
public DateTime CREATE_TIME
|
|||
|
|
{
|
|||
|
|
set { _create_time = value; }
|
|||
|
|
get { return _create_time; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 审核时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("审核时间")]
|
|||
|
|
public DateTime CONFIRM_TIME
|
|||
|
|
{
|
|||
|
|
set { _confirm_time = value; }
|
|||
|
|
get { return _confirm_time; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("出库时间")]
|
|||
|
|
public DateTime OUT_TIME
|
|||
|
|
{
|
|||
|
|
set { _out_time = value; }
|
|||
|
|
get { return _out_time; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 交接时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("交接时间")]
|
|||
|
|
public DateTime IN_TIME
|
|||
|
|
{
|
|||
|
|
set { _in_time = value; }
|
|||
|
|
get { return _in_time; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// Status(未审核、已审核、已完成、已关闭)
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Status")]
|
|||
|
|
|
|||
|
|
public string STATE
|
|||
|
|
{
|
|||
|
|
set { _state = value; }
|
|||
|
|
get { return _state; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// Status(未审核、已审核、已完成、已关闭)
|
|||
|
|
/// </summary>
|
|||
|
|
|
|||
|
|
string _dataSts = string.Empty;
|
|||
|
|
[DisplayName("Data Status")]
|
|||
|
|
public string DataSts
|
|||
|
|
{
|
|||
|
|
set { _dataSts = value; }
|
|||
|
|
get { return _dataSts; }
|
|||
|
|
}
|
|||
|
|
string _goods_id = string.Empty;
|
|||
|
|
/// <summary>
|
|||
|
|
/// GoodsNumber
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Inventory Id")]
|
|||
|
|
|
|||
|
|
public string GOODS_ID
|
|||
|
|
{
|
|||
|
|
set { _goods_id = value; }
|
|||
|
|
get { return _goods_id; }
|
|||
|
|
}
|
|||
|
|
string _goods_name = string.Empty;
|
|||
|
|
/// <summary>
|
|||
|
|
/// 物料
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Desciption")]
|
|||
|
|
public string GOODS_NAME
|
|||
|
|
{
|
|||
|
|
set { _goods_name = value; }
|
|||
|
|
get { return _goods_name; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 库区间调拨原因
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("原因")]
|
|||
|
|
public string REASON
|
|||
|
|
{
|
|||
|
|
set { _reason = value; }
|
|||
|
|
get { return _reason; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 生成方式
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("生成方式")]
|
|||
|
|
|
|||
|
|
public string CREATE_METHOD
|
|||
|
|
{
|
|||
|
|
set { _create_method = value; }
|
|||
|
|
get { return _create_method; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("REMARK")]
|
|||
|
|
public string REMARK
|
|||
|
|
{
|
|||
|
|
set { _remark = value; }
|
|||
|
|
get { return _remark; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 制单人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("制单人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string DOCUMENT_PERSON_ID
|
|||
|
|
{
|
|||
|
|
set { _document_person_id = value; }
|
|||
|
|
get { return _document_person_id; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 制单人
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("制单人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string DOCUMENT_PERSON
|
|||
|
|
{
|
|||
|
|
set { _document_person = value; }
|
|||
|
|
get { return _document_person; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 制单时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("制单时间")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public DateTime DOCUMENT_TIME
|
|||
|
|
{
|
|||
|
|
set { _document_time = value; }
|
|||
|
|
get { return _document_time; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 打印次数
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("打印次数")]
|
|||
|
|
public decimal PRINT_COUNT
|
|||
|
|
{
|
|||
|
|
set { _print_count = value; }
|
|||
|
|
get { return _print_count; }
|
|||
|
|
}
|
|||
|
|
private string _putin_id = string.Empty;
|
|||
|
|
/// <summary>
|
|||
|
|
/// 上架批次号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Sheet No")]
|
|||
|
|
public string PUTIN_ID
|
|||
|
|
{
|
|||
|
|
set { _putin_id = value; }
|
|||
|
|
get { return _putin_id; }
|
|||
|
|
}
|
|||
|
|
private string _location_id = string.Empty;
|
|||
|
|
[DisplayName("LOCATION")]
|
|||
|
|
|
|||
|
|
public string LOCATION_ID
|
|||
|
|
{
|
|||
|
|
set { _location_id = value; }
|
|||
|
|
get { return _location_id; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private string _CTL = string.Empty;
|
|||
|
|
[DisplayName("CTL")]
|
|||
|
|
|
|||
|
|
public string CTL
|
|||
|
|
{
|
|||
|
|
set { _CTL = value; }
|
|||
|
|
get { return _CTL; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endregion Model
|
|||
|
|
}
|
|||
|
|
}
|