package com.ai.da.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;


@NoArgsConstructor
@Data
@Schema(description = "潘通-响应")
public class PantoneVO {

    @Schema(description = "id -> pantoneIndex")
    private Integer id;

    @Schema(description = "名字")
    private String name;

    @Schema(description = "tcx值")
    private String tcx;

    @Schema(description = "r")
    private Integer r;

    @Schema(description = "g")
    private Integer g;

    @Schema(description = "b")
    private Integer b;

    @Schema(description = "h")
    private Integer h;

    @Schema(description = "s")
    private Integer s;

    @Schema(description = "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 = "--";
    }
}
