@@ -0,0 +1,938 @@
+package models;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.ManyToMany;%0Aimport javax.persistence.ManyToOne;%0A%0Aimport play.db.jpa.Model;%0A%0A@Entity%0Apublic class BusinessPartner extends Model %7B%0A%09%0A%09@Column(length = 30, nullable = false)%0A%09public String name;%0A%09%0A%09@Column(length = 50)%0A%09public String adress;%0A%09%0A%09@Column(length = 10, nullable = false)%0A%09public String kind;%0A%09%0A%09@Column(length = 30)%0A%09public String mobile;%0A%09%0A%09@Column(length = 30)%0A%09public String email;%0A%09%0A%09@Column(length = 30, nullable = false)%0A%09public String account;%0A%09%0A%09@ManyToOne%0A%09public Company company;%0A%0A%09public BusinessPartner (String name, String adress, String kind, %0A%09%09%09%09%09%09%09String mobile, String email, String account,%0A%09%09%09%09%09%09    Company company) %0A%09%7B%0A%09%09super();%0A%09%09this.name = name;%0A%09%09this.adress = adress;%0A%09%09this.kind = kind;%0A%09%09this.mobile = mobile;%0A%09%09this.email = email;%0A%09%09this.account = account;%0A%09%09this.company = company;%0A%09%7D%0A%0A%7D%0A

Create business partner model