Table of Contents

Class MaterialExportModel

Namespace
CMS.Plugin.MaterialManagement.Abstractions.Models
Assembly
CMS.Plugin.MaterialManagement.Abstractions.dll
[Excel("CMS.Plugin.MaterialManagement:MaterialManagement", 22)]
public class MaterialExportModel : ExportBaseDto, IHasExtraProperties, IValidatableObject
Inheritance
MaterialExportModel
Implements
IHasExtraProperties
Inherited Members

Constructors

MaterialExportModel()

public MaterialExportModel()

MaterialExportModel(IStringLocalizer)

public MaterialExportModel(IStringLocalizer stringLocalizer)

Parameters

stringLocalizer IStringLocalizer

Properties

BarcodeRule

条码规则

[Excel("CMS.Plugin.MaterialManagement:BarcodeRule", 22)]
public string? BarcodeRule { get; set; }

Property Value

string

Code

物料编号

[Excel("CMS.Plugin.MaterialManagement:MaterialCode", 22)]
[Required]
public string? Code { get; set; }

Property Value

string

InventoryQty

库存

[Excel("CMS.Plugin.MaterialManagement:Inventory", 22)]
public double? InventoryQty { get; set; }

Property Value

double?

MaterialTypeName

物料类型

[Excel("CMS.Plugin.MaterialManagement:MaterialType", 22)]
[Required]
public string? MaterialTypeName { get; set; }

Property Value

string

Name

物料管理

[Excel("CMS.Plugin.MaterialManagement:MaterialName", 22)]
[Required]
public string? Name { get; set; }

Property Value

string

Remark

备注说明

[Excel("CMS.Plugin.MaterialManagement:Remark", 22)]
public string? Remark { get; set; }

Property Value

string

TranslateKey_Prefix

翻译文本的前缀.

public override string TranslateKey_Prefix { get; }

Property Value

string

Unit

单位

[Excel("CMS.Plugin.MaterialManagement:Unit", 22)]
[Required]
public string? Unit { get; set; }

Property Value

string

Methods

IsEmpty()

public bool IsEmpty()

Returns

bool