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.

258 lines
5.3 KiB
C#

using DS.Module.Core.Data;
namespace DS.WMS.Core.WmsModule.Entity;
///<summary>
///库存头表
///</summary>
public partial class OP_WMS:BaseMiddleModel
{
public OP_WMS()
{
}
public void setsingle()
{
KGS_SINGLE = Decimal.Round((Decimal)KGS / (Decimal)PKGS,3);
CBM_SINGLE = Decimal.Round((Decimal)CBM / (Decimal)PKGS, 3);
STORAGEUNITCOUNT_SINGLE = Decimal.Round((Decimal)STORAGEUNITCOUNT / (Decimal)PKGS, 6);
RULEUNITCOUNT_SINGLE = Decimal.Round((Decimal)RULEUNITCOUNT / (Decimal)PKGS, 3);
}
/// <summary>
///
/// </summary>
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
public Guid WMSID { get; set; }
/// <summary>
///
/// </summary>
public string BSNO { get; set; }
/// <summary>
///
/// </summary>
public string BILLTYPE { get; set; }
/// <summary>
///
/// </summary>
public string REMARK { get; set; }
/// <summary>
///
/// </summary>
public string CORPID { get; set; }
/// <summary>
///
/// </summary>
public string CUSTOMERNAME { get; set; }
/// <summary>
///
/// </summary>
public string MATERIALNO { get; set; }
public string GoodsId { get; set; } = "";
/// <summary>
///
/// </summary>
public string GOODSCODE { get; set; }
/// <summary>
///
/// </summary>
public string GOODSNAME { get; set; }
/// <summary>
///
/// </summary>
public string GOODSHSCODE { get; set; }
/// <summary>
///
/// </summary>
public string MBLNO { get; set; }
/// <summary>
///
/// </summary>
public string CNTRNO { get; set; }
/// <summary>
///
/// </summary>
public decimal? KGS { get; set; }
/// <summary>
///
/// </summary>
public decimal? CBM { get; set; }
/// <summary>
///
/// </summary>
public decimal? PKGS { get; set; }
/// <summary>
///
/// </summary>
public string KINDPKGS { get; set; }
/// <summary>
///
/// </summary>
public string STORAGEUNIT { get; set; }
/// <summary>
///
/// </summary>
public decimal? STORAGEUNITCOUNT { get; set; }
/// <summary>
///
/// </summary>
public string RULEUNIT { get; set; }
/// <summary>
///
/// </summary>
public decimal? RULEUNITCOUNT { get; set; }
/// <summary>
///
/// </summary>
public bool? ISCLEAR { get; set; }
/// <summary>
///
/// </summary>
public bool? BSSTATUS { get; set; }
/// <summary>
///
/// </summary>
public bool? FEESTATUS { get; set; }
// /// <summary>
// ///
// /// </summary>
// public DateTime? TIMEMARK { get; set; }
/// <summary>
///
/// </summary>
public DateTime? FEEENDDATE { get; set; }
/// <summary>
///
/// </summary>
public DateTime? FEESTARTDATE { get; set; }
/// <summary>
///
/// </summary>
public DateTime? INDATE { get; set; }
/// <summary>
///
/// </summary>
public decimal? KGS_SINGLE { get; set; }
/// <summary>
///
/// </summary>
public decimal? CBM_SINGLE { get; set; }
/// <summary>
///
/// </summary>
public decimal? STORAGEUNITCOUNT_SINGLE { get; set; }
/// <summary>
///
/// </summary>
public decimal? RULEUNITCOUNT_SINGLE { get; set; }
/// <summary>
///
/// </summary>
public Guid? OP { get; set; }
/// <summary>
///
/// </summary>
public decimal? NETWEIGHT { get; set; }
/// <summary>
///
/// </summary>
public string CUSTOMNO { get; set; }
/// <summary>
///
/// </summary>
public string ACCBOOKNO { get; set; }
/// <summary>
///
/// </summary>
public string GOODSOWNER { get; set; }
/// <summary>
///
/// </summary>
public DateTime? FEERATESTARTDATE { get; set; }
/// <summary>
///
/// </summary>
public DateTime? WMSINDATE { get; set; }
/// <summary>
///
/// </summary>
public string ARCLIENTWMSOUT { get; set; }
/// <summary>
///
/// </summary>
public string COUNTRY { get; set; }
/// <summary>
///
/// </summary>
public Guid? WMSBASEID { get; set; }
/// <summary>
///
/// </summary>
public string APCLIENTWMSOUT { get; set; }
/// <summary>
///
/// </summary>
public Guid? WMSPROJECTID { get; set; }
/// <summary>
///
/// </summary>
public string OLD_CNTRNO { get; set; }
/// <summary>
///
/// </summary>
public decimal? SMALLPKGS { get; set; }
/// <summary>
///
/// </summary>
public decimal? MINPKGS { get; set; } = 0;
/// <summary>
/// 客户ID
/// </summary>
[SqlSugar.SugarColumn(IsOnlyIgnoreUpdate = true)]
public string ClientId { get; set; }
}