package com.iqser.red.service.persistence.service.v1.api.shared.model;

import java.util.Arrays;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FileAttribute {

    private String id;
    private String label;
    private String placeholder;
    private String value;


    public boolean valueEqualsAnyOf(String... values){

        return Arrays.asList(values).contains(value);
    }
}

