Table of Contents

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

string

InventoryQty

库存

public double InventoryQty { get; set; }

Property Value

double

MaterialDetails

物料明细.

public List<MaterialDetailModel> MaterialDetails { get; set; }

Property Value

List<MaterialDetailModel>

MaterialId

物料id

public Guid MaterialId { get; set; }

Property Value

Guid

MaterialType

物料类型

public MaterialType MaterialType { get; set; }

Property Value

MaterialType

MaterialTypeDisplay

物料类型(展示)

public string MaterialTypeDisplay { get; set; }

Property Value

string

Name

物料名称

public string? Name { get; set; }

Property Value

string

Remark

备注

public string? Remark { get; set; }

Property Value

string

Sort

序号

public int Sort { get; set; }

Property Value

int

Unit

单位

public string? Unit { get; set; }

Property Value

string

Methods

Clone()

克隆对象.

public MaterialModel Clone()

Returns

MaterialModel

DecreaseMaterialDetailApply(Guid, Guid, double)

public MaterialDetailApplyModel? DecreaseMaterialDetailApply(Guid materialDetailId, Guid workStationId, double inventoryQty)

Parameters

materialDetailId Guid
workStationId Guid
inventoryQty double

Returns

MaterialDetailApplyModel