447 lines
12 KiB
C#
447 lines
12 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using WMS.Attirubte;
|
|
using System.ComponentModel;
|
|
|
|
namespace WMS.Model.RK
|
|
{
|
|
/// <summary>
|
|
/// 码盘
|
|
/// </summary>
|
|
[Serializable]
|
|
[TableClmAttribute(TableName = "T_CODEDISK")]
|
|
public class CodeDiskModel
|
|
{
|
|
#region 码盘Model
|
|
private string warehousing_id="";
|
|
private string storage_area_id = "";
|
|
private string storage_area_name = "";
|
|
private string location_id = "";
|
|
private string location_name = "";
|
|
private string pallet_id = "";
|
|
private string goods_id = "";
|
|
private string goods_name = "";
|
|
private string unit = "";
|
|
private decimal goods_num=0;
|
|
private DateTime production_date =DateTime.Parse("1900-01-01");
|
|
private decimal total_volume=0;
|
|
private decimal total_rough_weight=0;
|
|
private decimal total_net_weigh=0;
|
|
private decimal total_money=0;
|
|
private string codedisk_per = "";
|
|
private DateTime codedisk_date = DateTime.Parse("1900-01-01");
|
|
private string remark = "";
|
|
private string version = "";
|
|
private string operatorID = "";
|
|
private DateTime operateDate = DateTime.Parse("1900-01-01");
|
|
private decimal gvolume=0;
|
|
private string _goods_type_id = "";
|
|
private string codedisk_per_name = "";
|
|
private string goods_type_name = "";
|
|
private string scale_unit = "";
|
|
private decimal price=0;
|
|
string _lot_id ="";
|
|
|
|
private string barCode = string.Empty;
|
|
/// <summary>
|
|
/// 物料条码
|
|
/// </summary>
|
|
[DisplayName("物料条码")]
|
|
[TableClm(NoSelect = false)]
|
|
public string BarCode
|
|
{
|
|
get { return barCode; }
|
|
set { barCode = value; }
|
|
}
|
|
/// <summary>
|
|
/// 入库单号
|
|
/// </summary>
|
|
[DisplayName("入库单号")]
|
|
public string LOT_ID
|
|
{
|
|
set { _lot_id = value; }
|
|
get { return _lot_id; }
|
|
}
|
|
/// <summary>
|
|
/// 通知单编号
|
|
/// </summary>
|
|
[DisplayName("通知单编号")]
|
|
public string Warehousing_id
|
|
{
|
|
get { return warehousing_id; }
|
|
set { warehousing_id = value; }
|
|
}
|
|
private string _ConveyorID =string.Empty;
|
|
/// <summary>
|
|
/// 入库站台
|
|
/// </summary>
|
|
[DisplayName("入库站台")]
|
|
public string ConveyorID
|
|
{
|
|
get { return _ConveyorID; }
|
|
set { _ConveyorID = value; }
|
|
}
|
|
/// <summary>
|
|
/// 库区编号
|
|
/// </summary>
|
|
[DisplayName("库区编号")]
|
|
[TableClmAttribute(JoinTableClmName = "STORAGE_AREA_NAME", JoinTableClm = "STORAGE_AREA_ID", ClmJoinTable = "T_BASE_STORAGE_AREA", ClassName = "T_RK_CODEDISK")]
|
|
public string Storage_area_id
|
|
{
|
|
get { return storage_area_id; }
|
|
set { storage_area_id = value; }
|
|
}
|
|
/// <summary>
|
|
/// 库区名称
|
|
/// </summary>
|
|
[DisplayName("库区名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Storage_area_name
|
|
{
|
|
get { return storage_area_name; }
|
|
set { storage_area_name = value; }
|
|
}
|
|
/// <summary>
|
|
/// 供应商编号
|
|
/// </summary>
|
|
private string _PROVIDER_ID = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 工单号
|
|
/// </summary>
|
|
[DisplayName("工单号")]
|
|
public string PROVIDER_ID
|
|
{
|
|
get { return _PROVIDER_ID; }
|
|
set { _PROVIDER_ID = value; }
|
|
}
|
|
/// <summary>
|
|
/// 库位编号
|
|
/// </summary>
|
|
[DisplayName("库位编号")]
|
|
[TableClmAttribute(JoinTableClmName = "LOCATION_NAME", JoinTableClm = "LOCATION_ID", ClmJoinTable = "T_CODEDISK", ClassName = "T_BASE_STORAGE_AREA_LOCATION")]
|
|
public string LOCATION_ID
|
|
{
|
|
get { return location_id; }
|
|
set { location_id = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 库位名称
|
|
/// </summary>
|
|
[DisplayName("库位名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Location_name
|
|
{
|
|
get { return location_name; }
|
|
set { location_name = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 托盘编号
|
|
/// </summary>
|
|
[DisplayName("托盘编号")]
|
|
public string Pallet_id
|
|
{
|
|
get { return pallet_id; }
|
|
set { pallet_id = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// GoodsNumber
|
|
/// </summary>
|
|
[DisplayName("物料编号")]
|
|
[TableClmAttribute(ClmJoinTable = "T_BASE_GOODS", JoinTableClm = "GOODS_ID", JoinTableClmName = "GOODS_NAME")]
|
|
public string Goods_id
|
|
{
|
|
get { return goods_id; }
|
|
set { goods_id = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Goods NAME
|
|
/// </summary>
|
|
[DisplayName("物料名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Goods_name
|
|
{
|
|
get { return goods_name; }
|
|
set { goods_name = value; }
|
|
}
|
|
/// <summary>
|
|
/// UNIT
|
|
/// </summary>
|
|
[DisplayName("单位")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Unit
|
|
{
|
|
get { return unit; }
|
|
set { unit = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 物料数量
|
|
/// </summary>
|
|
[DisplayName("物料数量")]
|
|
public decimal Goods_Num
|
|
{
|
|
get { return goods_num; }
|
|
set { goods_num = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 生产日期
|
|
/// </summary>
|
|
[DisplayName("生产日期")]
|
|
public DateTime Production_date
|
|
{
|
|
get { return production_date; }
|
|
set { production_date = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 总体积
|
|
/// </summary>
|
|
[DisplayName("总体积")]
|
|
public decimal Total_volume
|
|
{
|
|
get { return total_volume; }
|
|
set { total_volume = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 总毛重
|
|
/// </summary>
|
|
[DisplayName("总毛重")]
|
|
[TableClm(NoSelect = false)]
|
|
public decimal Total_rough_weight
|
|
{
|
|
get { return total_rough_weight; }
|
|
set { total_rough_weight = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 总净重
|
|
/// </summary>
|
|
[DisplayName("总净重")]
|
|
[TableClm(NoSelect = false)]
|
|
public decimal Total_net_weigh
|
|
{
|
|
get { return total_net_weigh; }
|
|
set { total_net_weigh = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 总金额
|
|
/// </summary>
|
|
[DisplayName("总金额")]
|
|
[TableClm(NoSelect = false)]
|
|
public decimal Total_money
|
|
{
|
|
get { return total_money; }
|
|
set { total_money = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 码盘人
|
|
/// </summary>
|
|
[DisplayName("码盘人")]
|
|
[TableClmAttribute(JoinTableClmName = "NAME", JoinTableClm = "USER_ID", ClmJoinTable = "T_BASE_USERINFO")]
|
|
public string Codedisk_per
|
|
{
|
|
get { return codedisk_per; }
|
|
set { codedisk_per = value; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 码盘人名称
|
|
/// </summary>
|
|
[DisplayName("码盘人名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Codedisk_per_name
|
|
{
|
|
get { return codedisk_per_name; }
|
|
set { codedisk_per_name = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 码盘时间
|
|
/// </summary>
|
|
[DisplayName("码盘时间")]
|
|
public DateTime Codedisk_date
|
|
{
|
|
get { return codedisk_date; }
|
|
set { codedisk_date = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[DisplayName("备注")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Remark
|
|
{
|
|
get { return remark; }
|
|
set { remark = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
[DisplayName("版本号")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Version
|
|
{
|
|
get { return version; }
|
|
set { version = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
///操作人
|
|
/// <summary>
|
|
[DisplayName("操作人")]
|
|
[TableClm(NoSelect = false)]
|
|
public string OperatorID
|
|
{
|
|
get { return operatorID; }
|
|
set { operatorID = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
///操作日期
|
|
/// <summary>
|
|
[DisplayName("操作日期")]
|
|
[TableClm(NoSelect = false)]
|
|
public DateTime OperateDate
|
|
{
|
|
get { return operateDate; }
|
|
set { operateDate = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// UNIT体积
|
|
/// </summary>
|
|
[DisplayName("重量单位")]
|
|
[TableClm(NoSelect = false)]
|
|
public decimal Gvolume
|
|
{
|
|
get { return gvolume; }
|
|
set { gvolume = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 物料类别
|
|
/// </summary>
|
|
[DisplayName("物料类别")]
|
|
public string Goods_type_id
|
|
{
|
|
get { return _goods_type_id; }
|
|
set { _goods_type_id = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 物料类别名称
|
|
/// </summary>
|
|
[DisplayName("物料类别名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Goods_type_name
|
|
{
|
|
get { return goods_type_name; }
|
|
set { goods_type_name = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 重量UNIT
|
|
/// </summary>
|
|
[DisplayName("重量UNIT")]
|
|
[TableClm(NoSelect = false)]
|
|
public string Scale_unit
|
|
{
|
|
get { return scale_unit; }
|
|
set { scale_unit = value; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 标准金额
|
|
/// </summary>
|
|
[DisplayName("标准金额")]
|
|
[TableClm(NoSelect = false)]
|
|
public decimal Price
|
|
{
|
|
get { return price; }
|
|
set { price = value; }
|
|
}
|
|
private string _stroage_id = "";
|
|
/// <summary>
|
|
/// 仓库编号
|
|
/// </summary>
|
|
[DisplayName("仓库编号")]
|
|
[TableClm(NoSelect = false)]
|
|
public string STORAGE_ID
|
|
{
|
|
get { return _stroage_id; }
|
|
set { _stroage_id = value; }
|
|
|
|
}
|
|
string _storage_name = string.Empty;
|
|
/// <summary>
|
|
/// 仓库名称
|
|
/// </summary>
|
|
[DisplayName("仓库名称")]
|
|
[TableClm(NoSelect = false)]
|
|
public string STORAGE_NAME
|
|
{
|
|
set { _storage_name = value; }
|
|
get { return _storage_name; }
|
|
}
|
|
|
|
string _GOODS_MEASURE_ID = "";
|
|
/// <summary>
|
|
///规格编号
|
|
/// <summary>
|
|
[DisplayName("箱型编号")]
|
|
public string GOODS_MEASURE_ID
|
|
{
|
|
get { return _GOODS_MEASURE_ID; }
|
|
|
|
set { _GOODS_MEASURE_ID = value; }
|
|
}
|
|
string _GOODS_MEASURE_NAME = "";
|
|
/// <summary>
|
|
///箱型
|
|
/// <summary>
|
|
[DisplayName("箱型")]
|
|
public string GOODS_MEASURE_NAME
|
|
{
|
|
get { return _GOODS_MEASURE_NAME; }
|
|
|
|
set { _GOODS_MEASURE_NAME = value; }
|
|
}
|
|
|
|
bool _AUTOSTS = false;
|
|
/// <summary>
|
|
/// 批次管理
|
|
/// </summary>
|
|
[DisplayName("是否为立体库")]
|
|
public bool AUTOSTS
|
|
{
|
|
set { _AUTOSTS = value; }
|
|
get { return _AUTOSTS; }
|
|
}
|
|
private string _ProDucLotId = string.Empty;
|
|
/// <summary>
|
|
/// 生产批号
|
|
/// </summary>
|
|
[DisplayName("生产批号")]
|
|
public string ProDucLotId
|
|
{
|
|
get { return _ProDucLotId; }
|
|
set { _ProDucLotId = value; }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|