package sy.edu.hiast.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.List;

@Document(collection = "movies")
public class Movie {
    @Id
    private String id;
    private String title;
    private List<String> directors;
    private float rating;
    private List<String> cast;

    // Standard Getters/Setters or use @Data if using Lombok
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public void setDirectors(List<String> directors) { this.directors = directors; }
    public void setRating(float rating) { this.rating = rating; }
    public void setCast(List<String> cast) { this.cast = cast; }
}
