package com.ruoyi.zhdd.domain.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 应急资源明细视图对象 b_resource_detail
 *
 * @author xintong
 * @date 2021-10-27
 */
@Data
@ApiModel("应急资源明细视图对象")
public class ResourceDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * $pkColumn.columnComment
     */
    @ApiModelProperty("$pkColumn.columnComment")
    private String id;

    /**
     * 资源id
     */
    @Excel(name = "资源id")
    @ApiModelProperty("资源id")
    private String resourceId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String name;

    /**
     * 型号
     */
    @Excel(name = "型号")
    @ApiModelProperty("型号")
    private String model;

    /**
     * 规格
     */
    @Excel(name = "规格")
    @ApiModelProperty("规格")
    private String size;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private BigDecimal num;

    private BigDecimal availableNum;

    /**
     * 单位
     */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String unit;


}
