@@ -0,0 +1,870 @@
+package models;%0A%0Aimport java.util.List;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.OneToMany;%0A%0Aimport play.db.jpa.Model;%0A%0A@Entity%0Apublic class Company extends Model %7B%0A%09%0A%09@Column(length = 30, nullable = false)%0A%09public String name;%0A%09%0A%09@Column(length = 8, nullable = false)%0A%09public int PIB;%0A%09%0A%09@Column(length = 50)%0A%09public String address;%0A%09%0A%09@Column(length = 30)%0A%09public String mobile;%0A%09%0A%09@Column(length = 8, nullable = false)%0A%09public String JMBG;%0A%0A//%09@OneToMany(mappedBy = %22company%22)%0A//%09public List%3CBusinessYear%3E businessYear;%0A%09%0A%09@OneToMany(mappedBy = %22company%22)%0A%09public List%3CBusinessPartner%3E businessPartner;%0A%09%0A%09public Company(String naziv, int pib, String adresa, %0A%09%09%09%09   String mobile, String jmbg) %0A%09%7B%0A%09%09super();%0A%09%09this.name = naziv;%0A%09%09PIB = pib;%0A%09%09this.address = adresa;%0A%09%09this.mobile = mobile;%0A%09%09JMBG = jmbg;%0A%09%7D%0A%09%09%0A%7D%0A

Create company model