@@ -0,0 +1,1120 @@
+package org.eclipse.persistence.jpars.test.model.multitenant;%0D%0A%0D%0Aimport javax.persistence.Entity;%0D%0Aimport javax.persistence.GeneratedValue;%0D%0Aimport javax.persistence.Id;%0D%0Aimport javax.persistence.Table;%0D%0Aimport javax.persistence.Version;%0D%0A%0D%0Aimport org.eclipse.persistence.annotations.Multitenant;%0D%0Aimport org.eclipse.persistence.annotations.TenantDiscriminatorColumn;%0D%0A%0D%0A@Entity%0D%0A@Table(name=%22JPARS_ACCOUNT%22)%0D%0A@Multitenant%0D%0A@TenantDiscriminatorColumn(name=%22TENANT_ID%22, contextProperty=%22tenant.id%22, primaryKey=true)%0D%0Apublic class Account %7B%0D%0A%0D%0A    @Id%0D%0A    @GeneratedValue%0D%0A    private int id;%0D%0A    private String accoutNumber;%0D%0A    @Version%0D%0A    private int version;%0D%0A    %0D%0A    public int getId() %7B%0D%0A        return id;%0D%0A    %7D%0D%0A    public void setId(int id) %7B%0D%0A        this.id = id;%0D%0A    %7D%0D%0A    public String getAccoutNumber() %7B%0D%0A        return accoutNumber;%0D%0A    %7D%0D%0A    public void setAccoutNumber(String accoutNumber) %7B%0D%0A        this.accoutNumber = accoutNumber;%0D%0A    %7D%0D%0A    public int getVersion() %7B%0D%0A        return version;%0D%0A    %7D%0D%0A    public void setVersion(int version) %7B%0D%0A        this.version = version;%0D%0A    %7D%0D%0A%7D%0D%0A

Add Account Object