@@ -0,0 +1,1269 @@
+package cane.brothers.circus.domain;%0A%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.Table;%0A%0A@Entity%0A@Table(name = %22SECTORS%22)%0Apublic class Sector extends BaseEntity %7B%0A%0A%09/**%0A%09 * The short name of the sector, may be a code such as S1, S2, etc.%0A%09 */%0A%09private String name;%0A%0A%09/**%0A%09 * The description of the section, such as 'Rear Balcony', etc.%0A%09 */%0A%09private String description;%0A%0A%09/**%0A%09 * The total seating capacity of the sector%0A%09 */%0A%09private int capacity;%0A%0A%09/**%0A%09 * Left or right side to which this sector belongs%0A%09 */%09%0A%09private Side side;%0A%0A%09/**%0A%09 * The layout to which this sector belongs%0A%09 */%0A%09private CircusLayout layout;%0A%0A%09public Sector() %7B%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public String getDescription() %7B%0A%09%09return description;%0A%09%7D%0A%0A%09public int getCapacity() %7B%0A%09%09return capacity;%0A%09%7D%0A%0A%09public Side getSide() %7B%0A%09%09return side;%0A%09%7D%0A%0A%09public CircusLayout getLayout() %7B%0A%09%09return layout;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public void setDescription(String description) %7B%0A%09%09this.description = description;%0A%09%7D%0A%0A%09public void setCapacity(int capacity) %7B%0A%09%09this.capacity = capacity;%0A%09%7D%0A%0A%09public void setSide(Side side) %7B%0A%09%09this.side = side;%0A%09%7D%0A%0A%09public void setLayout(CircusLayout layout) %7B%0A%09%09this.layout = layout;%0A%09%7D%0A%0A%7D%0A

add sector entity