|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class WmsOutDetailEntity //wms_out_detail出库记录明细
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 构造函数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public WmsOutDetailEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 惟一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _inbsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关联入库单wms_in的BSNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string INBSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _inbsno; }
|
|
|
|
|
set { _inbsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _outbsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// OUTBSNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OUTBSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _outbsno; }
|
|
|
|
|
set { _outbsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _bsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _bsno; }
|
|
|
|
|
set { _bsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _clientgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CLIENTGID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CLIENTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _clientgid; }
|
|
|
|
|
set { _clientgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _clientcode = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CLIENTCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _clientcode; }
|
|
|
|
|
set { _clientcode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _dodate = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime DODATE
|
|
|
|
|
{
|
|
|
|
|
get { return _dodate; }
|
|
|
|
|
set { _dodate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _storagecode = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string STORAGECODE
|
|
|
|
|
{
|
|
|
|
|
get { return _storagecode; }
|
|
|
|
|
set { _storagecode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _storagename = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string STORAGENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _storagename; }
|
|
|
|
|
set { _storagename = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _areacode = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AREACODE
|
|
|
|
|
{
|
|
|
|
|
get { return _areacode; }
|
|
|
|
|
set { _areacode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _areaname = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库位名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AREANAME
|
|
|
|
|
{
|
|
|
|
|
get { return _areaname; }
|
|
|
|
|
set { _areaname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodscode = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodscode; }
|
|
|
|
|
set { _goodscode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsname = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsname; }
|
|
|
|
|
set { _goodsname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodstype = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodstype; }
|
|
|
|
|
set { _goodstype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsmodel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 型号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSMODEL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsmodel; }
|
|
|
|
|
set { _goodsmodel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsstandard = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 规格
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSSTANDARD
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsstandard; }
|
|
|
|
|
set { _goodsstandard = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodspack = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 包装
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSPACK
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspack; }
|
|
|
|
|
set { _goodspack = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _chargeunit = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CHARGEUNIT
|
|
|
|
|
{
|
|
|
|
|
get { return _chargeunit; }
|
|
|
|
|
set { _chargeunit = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspfsl = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPFSL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspfsl; }
|
|
|
|
|
set { _goodspfsl = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsoutfee = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓储费
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSOUTFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsoutfee; }
|
|
|
|
|
set { _goodsoutfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _truckno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TRUCKNO
|
|
|
|
|
{
|
|
|
|
|
get { return _truckno; }
|
|
|
|
|
set { _truckno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _createuser; }
|
|
|
|
|
set { _createuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _associatedno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关联号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ASSOCIATEDNO
|
|
|
|
|
{
|
|
|
|
|
get { return _associatedno; }
|
|
|
|
|
set { _associatedno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodspackpfsl = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSPACKPFSL
|
|
|
|
|
{
|
|
|
|
|
get { return _goodspackpfsl; }
|
|
|
|
|
set { _goodspackpfsl = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _arfee = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库费应收
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal ARFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _arfee; }
|
|
|
|
|
set { _arfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _apfee = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库费应付
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal APFEE
|
|
|
|
|
{
|
|
|
|
|
get { return _apfee; }
|
|
|
|
|
set { _apfee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _islock = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否锁定
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISLOCK
|
|
|
|
|
{
|
|
|
|
|
get { return _islock; }
|
|
|
|
|
set { _islock = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _lockuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 锁定操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LOCKUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _lockuser; }
|
|
|
|
|
set { _lockuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _locktime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 锁定时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime LOCKTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _locktime; }
|
|
|
|
|
set { _locktime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsoutfeeap = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应付仓储费
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSOUTFEEAP
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsoutfeeap; }
|
|
|
|
|
set { _goodsoutfeeap = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _clientnameold = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货权转移的客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CLIENTNAMEOLD
|
|
|
|
|
{
|
|
|
|
|
get { return _clientnameold; }
|
|
|
|
|
set { _clientnameold = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _oldcustfeedate = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上家承担仓储期限
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime OLDCUSTFEEDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _oldcustfeedate; }
|
|
|
|
|
set { _oldcustfeedate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _startbillingdate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收开始计费日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime STARTBILLINGDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _startbillingdate; }
|
|
|
|
|
set { _startbillingdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _endbillingdate = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收结束计费日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ENDBILLINGDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _endbillingdate; }
|
|
|
|
|
set { _endbillingdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _feedays = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收计费天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FEEDAYS
|
|
|
|
|
{
|
|
|
|
|
get { return _feedays; }
|
|
|
|
|
set { _feedays = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private DateTime _startbillingdateap;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应付开始计费日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime STARTBILLINGDATEAP
|
|
|
|
|
{
|
|
|
|
|
get { return _startbillingdateap; }
|
|
|
|
|
set { _startbillingdateap = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _endbillingdateap = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应付结束计费日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ENDBILLINGDATEAP
|
|
|
|
|
{
|
|
|
|
|
get { return _endbillingdateap; }
|
|
|
|
|
set { _endbillingdateap = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _feedaysap = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应付计费天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int FEEDAYSAP
|
|
|
|
|
{
|
|
|
|
|
get { return _feedaysap; }
|
|
|
|
|
set { _feedaysap = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _goodsslice = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 片数/件
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal GOODSSLICE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsslice; }
|
|
|
|
|
set { _goodsslice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _goodsgrade = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 品名的等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GOODSGRADE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsgrade; }
|
|
|
|
|
set { _goodsgrade = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CUSTOMERNAMEPARENT = "";//原货主 varchar(20)
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 原货主 varchar(20)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CUSTOMERNAMEPARENT { get { return _CUSTOMERNAMEPARENT; } set { _CUSTOMERNAMEPARENT = value; } }//
|
|
|
|
|
|
|
|
|
|
private bool _ISCHANGE = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否是货权转移
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISCHANGE
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCHANGE; }
|
|
|
|
|
set { _ISCHANGE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _MARKETVALUE = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 市场货值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal MARKETVALUE
|
|
|
|
|
{
|
|
|
|
|
get { return _MARKETVALUE; }
|
|
|
|
|
set { _MARKETVALUE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _BZTCHNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批次号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BZTCHNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BZTCHNO; }
|
|
|
|
|
set { _BZTCHNO = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|