Class MaterialModel
- Namespace
- CMS.Plugin.MaterialManagement.Abstractions.Models
- Assembly
- CMS.Plugin.MaterialManagement.Abstractions.dll
物料.
public class MaterialModel : ExtensibleObject, IHasExtraProperties, IValidatableObject
- Inheritance
-
MaterialModel
- Implements
-
IHasExtraProperties
- Inherited Members
Properties
AssociationWorkStation
关联工序
public string? AssociationWorkStation { get; set; }
Property Value
InventoryQty
库存
public double InventoryQty { get; set; }
Property Value
MaterialDetails
物料明细.
public List<MaterialDetailModel> MaterialDetails { get; set; }
Property Value
MaterialId
物料id
public Guid MaterialId { get; set; }
Property Value
MaterialType
物料类型
public MaterialType MaterialType { get; set; }
Property Value
MaterialTypeDisplay
物料类型(展示)
public string MaterialTypeDisplay { get; set; }
Property Value
Name
物料名称
public string? Name { get; set; }
Property Value
Remark
备注
public string? Remark { get; set; }
Property Value
Sort
序号
public int Sort { get; set; }
Property Value
Unit
单位
public string? Unit { get; set; }
Property Value
Methods
Clone()
克隆对象.
public MaterialModel Clone()
Returns
DecreaseMaterialDetailApply(Guid, Guid, double)
public MaterialDetailApplyModel? DecreaseMaterialDetailApply(Guid materialDetailId, Guid workStationId, double inventoryQty)