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
Code
物料编号
[Excel("CMS.Plugin.MaterialManagement:MaterialCode", 22)]
[Required]
public string? Code { get; set; }
Property Value
InventoryQty
库存
[Excel("CMS.Plugin.MaterialManagement:Inventory", 22)]
public double? InventoryQty { get; set; }
Property Value
MaterialTypeName
物料类型
[Excel("CMS.Plugin.MaterialManagement:MaterialType", 22)]
[Required]
public string? MaterialTypeName { get; set; }
Property Value
Name
物料管理
[Excel("CMS.Plugin.MaterialManagement:MaterialName", 22)]
[Required]
public string? Name { get; set; }
Property Value
Remark
备注说明
[Excel("CMS.Plugin.MaterialManagement:Remark", 22)]
public string? Remark { get; set; }
Property Value
TranslateKey_Prefix
翻译文本的前缀.
public override string TranslateKey_Prefix { get; }
Property Value
Unit
单位
[Excel("CMS.Plugin.MaterialManagement:Unit", 22)]
[Required]
public string? Unit { get; set; }
Property Value
Methods
IsEmpty()
public bool IsEmpty()