package com.nebula.erp.product.requestmodel;

import com.nebula.erp.product.model.Image;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ImageResponse {
    private Long id;
    private String image;
    private Long product_id;

    // Constructor
    public ImageResponse(Image image) {
        this.id = image.getId();
        this.image = image.getImage();
        //this.product_id = image.getProduct().getId();  // Only return productId, not full product details
    }
}