package com.bonus.zlpt.equip.api.domain.vo;


import com.bonus.zlpt.equip.api.domain.DevInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class MaDevInfoVo extends DevInfo {


    //企业名称
    @ApiModelProperty(value = "企业名称", required = true)
    private String companyName;

    //装备类型  父级类型typeName
    @ApiModelProperty(value = "装备类型", required = true)
    private String parentDevType;

    //类型名称 当前设备类型名称typeName
    @ApiModelProperty(value = "类型名称", required = true)
    private String devTypeName;

    //装备名称  devTypeName+model_name
    @ApiModelProperty(value = "装备名称", required = true)
    private String devName;

    //设备检验信息图片路径
    @ApiModelProperty(value = "设备检验信息图片路径", required = true)
    private String inspectImageUrl;

    //设备保险信息图片路径
    @ApiModelProperty(value = "设备保险信息图片路径", required = true)
    private String insureImageUrl;




    public void buildDevName(){
        this.devName = this.devTypeName+this.getModelName();
    }

}
