Table of Contents

Class TraceMaterialModel

Namespace
CMS.Plugin.TraceManagement.Abstractions.Models.Traces
Assembly
CMS.Plugin.TraceManagement.Abstractions.dll

物料模型

public class TraceMaterialModel
Inheritance
TraceMaterialModel
Inherited Members

Constructors

TraceMaterialModel()

public TraceMaterialModel()

TraceMaterialModel(int, string, string, string)

public TraceMaterialModel(int id, string key, string value, string unbindValue)

Parameters

id int
key string
value string
unbindValue string

TraceMaterialModel(string, string)

public TraceMaterialModel(string key, string value)

Parameters

key string
value string

TraceMaterialModel(string, string, string)

public TraceMaterialModel(string key, string value, string unbindValue)

Parameters

key string
value string
unbindValue string

Properties

HasChanged

是够已修改.

public bool HasChanged { get; }

Property Value

bool

Id

唯一标识

public int Id { get; set; }

Property Value

int

Key

物料Key

[Design("物料Key", "物料Key")]
public string Key { get; set; }

Property Value

string

UnbindValue

解绑的物料码.

public string UnbindValue { get; set; }

Property Value

string

Value

物料码.

[Design("物料码", "物料码")]
public string Value { get; set; }

Property Value

string

WillUnbind

解绑物料.

public bool WillUnbind { get; }

Property Value

bool

Methods

Unbind()

解绑物料.

public void Unbind()