package com.ruoyi.platform.domain;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
public class Resource {
    @ApiModelProperty(value = "编号", notes = "唯一标识符")
    private Integer id;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("gpu")
    private String gpu;

    @ApiModelProperty("总数")
    private Integer total;

    @ApiModelProperty("已被占用的数量")
    private Integer used;
}
