package com.ai.da.model.vo;

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


@NoArgsConstructor
@Data
@ApiModel("潘通-响应")
public class PantoneVO {

    @ApiModelProperty("id -> pantoneIndex")
    private Integer id;

    @ApiModelProperty("名字")
    private String name;

    @ApiModelProperty("tcx值")
    private String tcx;

    @ApiModelProperty("r")
    private Integer r;

    @ApiModelProperty("g")
    private Integer g;

    @ApiModelProperty("b")
    private Integer b;

    @ApiModelProperty("h")
    private Integer h;

    @ApiModelProperty("s")
    private Integer s;

    @ApiModelProperty("v")
    private Integer v;

    public PantoneVO(String name, String tcx) {
        this.name = name;
        this.tcx = tcx;
    }

    public PantoneVO(Integer r, Integer g, Integer b, Integer h, Integer s, Integer v) {
        this.r = r;
        this.g = g;
        this.b = b;
        this.h = h;
        this.s = s;
        this.v = v;
        this.name = "--";
        this.tcx = "--";
    }
}
