package com.yuchen.saas.integration.hik.isc.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * @Description 导入Excelvo
 */
@Data
public class CameraAreaImportExcelResultVO {


    @ApiModelProperty(name = "importSize", value = "导入总条数")
    private Integer importSize;

    @ApiModelProperty(name = "successSize", value = "成功条数")
    private Integer successSize;

    @ApiModelProperty(name = "failSize", value = "失败条数")
    private Integer failSize;

    @ApiModelProperty(name = "msg", value = "失败消息")
    private List<String> msg;

    public Integer getSuccessSize(){
        return this.importSize-this.failSize;
    }

}
