package com.BDtest.model; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="film") public class Film { @Id private long film_id; private String title; private String description; private int release_year; private int language_id; private int rental_duration; private int length; private float replacement_cost; private float rental_rate; public int getRelease_year() { return release_year; } public void setRelease_year(int release_year) { this.release_year = release_year; } public int getLanguage_id() { return language_id; } public void setLanguage_id(int language_id) { this.language_id = language_id; } public int getRental_duration() { return rental_duration; } public void setRental_duration(int rental_duration) { this.rental_duration = rental_duration; } public int getLength() { return length; } public void setLength(int length) { this.length = length; } public float getReplacement_cost() { return replacement_cost; } public void setReplacement_cost(float replacement_cost) { this.replacement_cost = replacement_cost; } public float getRental_rate() { return rental_rate; } public void setRental_rate(float rental_rate) { this.rental_rate = rental_rate; } public long getFilm_id() { return film_id; } public void setFilm_id(long film_id) { this.film_id = film_id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } }