package com.example.bricklog.model;

public class Build {
    private String name;
    private String imageUrl;
    private String type; // "Kitset" or "MoC"

    // Constructor
    public Build(String name, String imageUrl, String type) {
        this.name = name;
        this.imageUrl = imageUrl;
        this.type = type;
    }

    // Getters and setters
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    // Override toString for display purposes
    @Override
    public String toString() {
        return String.format("Build{name='%s', type='%s', imageUrl='%s'}", name, type, imageUrl);
    }
}
