112 lines
2.5 KiB
C#
112 lines
2.5 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
|
||
namespace NX.ERP.Model
|
||
{
|
||
public class Material: BaseModel
|
||
{
|
||
private string _code;
|
||
private string _name;
|
||
private decimal length;
|
||
private decimal wide;
|
||
private decimal height;
|
||
private int volume;
|
||
private int weight;
|
||
private double unitPrice;
|
||
private string unitCode;
|
||
|
||
private int maxStock;
|
||
private int minStock;
|
||
private int aql;
|
||
private int invccode;
|
||
public string MaterialCode { get => _code; set => _code = value; }
|
||
public string MaterialName { get => _name; set => _name = value; }
|
||
|
||
|
||
public string MaterialTypeCode { get; set; }
|
||
|
||
public string SpecsModel { get; set; }
|
||
|
||
public string UnitCode { get => unitCode; set => unitCode = value; }
|
||
|
||
|
||
public int MinPackageQty { get; set; }
|
||
|
||
public int TaxRate { get; set; }
|
||
|
||
public decimal Length { get => length; set => length = value; }
|
||
public decimal Wide { get => wide; set => wide = value; }
|
||
public decimal Height { get => height; set => height = value; }
|
||
public int Volume { get => volume; set => volume = value; }
|
||
public int Weight { get => weight; set => weight = value; }
|
||
public double UnitPrice { get => unitPrice; set => unitPrice = value; }
|
||
|
||
|
||
public int MaxStock { get => maxStock; set => maxStock = value; }
|
||
public int MinStock { get => minStock; set => minStock = value; }
|
||
|
||
|
||
public int SafeStock { get; set; }
|
||
|
||
public int Aql { get => aql; set => aql = value; }
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
public double InvNCost { get; set; }
|
||
/// <summary>
|
||
/// 参考成本
|
||
/// </summary>
|
||
public double InvSPrice { get; set; }
|
||
/// <summary>
|
||
/// 计划单价
|
||
/// </summary>
|
||
public double InvRCost { get; set; }
|
||
|
||
|
||
public double ImpTaxRate { get; set; }
|
||
|
||
/// <summary>
|
||
/// 启用时间
|
||
/// </summary>
|
||
public DateTime? Sdate { get; set; }
|
||
|
||
/// <summary>
|
||
/// 结束时间
|
||
/// </summary>
|
||
public DateTime? Edate { get; set; }
|
||
|
||
|
||
public bool UsedFlag
|
||
{
|
||
get
|
||
{
|
||
return !Edate.HasValue;
|
||
}
|
||
}
|
||
|
||
|
||
public DateTime? ModifyDate { get; set; }
|
||
|
||
|
||
public bool IsPurchase { get; set; }
|
||
|
||
public bool IsSelf { get; set; }
|
||
|
||
public bool IsSub { get; set; }
|
||
|
||
|
||
//bPurchase,bSelf,IsSub
|
||
|
||
|
||
|
||
|
||
|
||
}
|
||
}
|