@@ -0,0 +1,832 @@
+package cane.brothers.circus.domain;%0A%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.JoinColumn;%0Aimport javax.persistence.ManyToOne;%0Aimport javax.persistence.Table;%0A%0A@Entity%0A@Table(name = %22SECTOR_ROWS%22)%0Apublic class SectorRow extends BaseEntity %7B%0A%0A%09/**%0A%09 * The short name of the sector row, may be a code such as ..., etc.%0A%09 */%0A%09private String name;%0A%0A%09private int capacity;%0A%0A%09@ManyToOne%0A%09@JoinColumn(name = %22SECTOR_ID%22)%0A%09private Sector sector;%0A%0A%09public SectorRow() %7B%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public int getCapacity() %7B%0A%09%09return capacity;%0A%09%7D%0A%0A%09public Sector getSector() %7B%0A%09%09return sector;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public void setCapacity(int capacity) %7B%0A%09%09this.capacity = capacity;%0A%09%7D%0A%0A%09public void setSector(Sector sector) %7B%0A%09%09this.sector = sector;%0A%09%7D%0A%0A%7D%0A

add sector row entity