@@ -0,0 +1,492 @@
+package models;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.ManyToOne;%0A%0Aimport play.db.jpa.Model;%0A%0A@Entity%0Apublic class BusinessYear extends Model %7B%0A%09%0A%09@Column(nullable = false)%0A%09public int year;%0A%09%0A%09@Column(nullable = false)%0A%09public boolean active;%0A%09%0A%09@ManyToOne%0A%09public Company company;%0A%0A%09public BusinessYear(int year, boolean active, Company company) %0A%09%7B%0A%09%09super();%0A%09%09this.year = year;%0A%09%09this.active = active;%0A%09%09this.company = company;%0A%09%7D%0A%0A%7D%0A

Create business year model