跳到主要内容

IBomPlankEditable interface

板件数据结构

Signature:

interface IBomPlankEditable<H = IBomPlankHoleEditable, G = IBomPlankGrooveEditable, AttrValueType = string> extends IBomPlankModelId, AugmentedRequired<IBomMetaInfo, 'name' | 'code'>, IBomCategoryAttr<AttrValueType>, IBomPlankRelation, IBomRoomMetaInfo 

Links: interface IBomPlankEditable<H = IBomPlankHoleEditable, G = IBomPlankGrooveEditable, AttrValueType = string> extends IBomPlankModelId, AugmentedRequired<IBomMetaInfo, 'name' | 'code'>, IBomCategoryAttr<AttrValueType>, IBomPlankRelation, IBomRoomMetaInfo

Extends: IBomPlankModelId, AugmentedRequired<IBomMetaInfo, 'name' | 'code'>, IBomCategoryAttr<AttrValueType>, IBomPlankRelation, IBomRoomMetaInfo

Properties

Property

Modifiers

Type

Description

backCode?

string

(Optional) 板件反面编码

backMaterial?

string

(Optional) 反面材质

baseMaterial

string

基材

doorType?

string

(Optional) 门板类型 当板件类型为门板时,需要传此字段

edgeBanding?

number[]

(Optional) 封边信息,与 Profile 中的每条边一一对应。如果 Profile 为空,则与矩形版 1,2,3,4 四条边一一对应

edges?

IBomPlankEdge[]

(Optional) 板件边信息

finishedHeight?

number

(Optional) 成品高度 单位:毫米

finishedProfile?

IBomProfile

(Optional) 成品板件轮廓,如果为空,则代表矩形板件

finishedWidth?

number

(Optional) 成品宽度 单位:毫米

fourEdges?

IBomPlankFourEdge[]

(Optional) 板件四个方向边信息

fourEdgesBanding?

[number, number, number, number]

(Optional) 四个方向上的封边值

frontMaterial?

string

(Optional) 正面材质

grooves?

G[]

(Optional)

hinges?

number[]

(Optional) 铰链位置

holes?

H[]

(Optional)

inners?

IBomProfile[]

(Optional) 成品内轮廓

material

string

材质

openDirection?

EOpenDirection

(Optional) 当为门板时,需要传此字段 开门方向

plankType

EBomPlankType

板件类型

productId?

string

(Optional) 产品Id,当不传产品ID时,将会从modelId中查询到对应的productId进行补全

stallEdgeIndex?

number

(Optional) 靠挡边index(板件方向边所在的index),从 0 到 3

surfaceTechnology?

string

(Optional) 表面工艺

texture?

string

(Optional) 纹理

textureDirection?

ETextureDirection

(Optional) 纹理方向;枚举值 HORIZONTAL 水平 VERTICAL 垂直 NONE 无

thickness

number

厚度 单位:毫米