package com.cf.imes.module.executor.util.fileConversion.admin.files.xml.VO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "Blocks")
@XmlAccessorType(XmlAccessType.FIELD)
// 板件列表
public class BlockXmlVOS implements Serializable {

    // 数量
    @XmlAttribute( name = "count")
    private String count;

    // 面积
    @XmlAttribute( name = "area")
    private String area;

    // 面积单位
    @XmlAttribute( name = "unit")
    private String unit;

    //
    @XmlElement( name = "Block")
    private List<BlockXmlVO> blockXmlVOList;
}
