@@ -0,0 +1,2817 @@
+package com.sedc.core.model;%0A%0Aimport org.apache.commons.lang3.builder.EqualsBuilder;%0Aimport org.apache.commons.lang3.builder.HashCodeBuilder;%0A%0Aimport javax.persistence.*;%0Aimport java.sql.Timestamp;%0A%0A@Entity%0A@Cacheable%0A@Table(name = %22EXCHANGE%22)%0A@Inheritance(strategy = InheritanceType.SINGLE_TABLE)%0Apublic class Exchange %7B%0A%0A    private Long id;%0A    private String name;%0A    private String description;%0A    private String country;%0A    private CodeGeneric region;%0A    private Integer timeZone;%0A    private Timestamp lastUpdateTm;%0A%0A    public Exchange() %7B%0A    %7D%0A%0A    public Exchange(Long id) %7B%0A        this.id = id;%0A    %7D%0A%0A    @Id%0A    @SequenceGenerator(name = %22EXCHANGE_GEN%22, sequenceName = %22s_exchange_pk%22)%0A    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = %22EXCHANGE_GEN%22)%0A    @Column(name = %22EX_ID%22)%0A    public Long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(Long id) %7B%0A        this.id = id;%0A    %7D%0A%0A    @Column(name = %22NAME%22)%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    @Column(name = %22DESCRIPTION%22)%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    public void setDescription(String description) %7B%0A        this.description = description;%0A    %7D%0A%0A    @Column(name = %22COUNTRY%22)%0A    public String getCountry() %7B%0A        return country;%0A    %7D%0A%0A    public void setCountry(String country) %7B%0A        this.country = country;%0A    %7D%0A%0A    @ManyToOne(fetch = FetchType.EAGER)%0A    @JoinColumn(name = %22REGION_CG_ID%22)%0A    public CodeGeneric getRegion() %7B%0A        return region;%0A    %7D%0A%0A    public void setRegion(CodeGeneric region) %7B%0A        this.region = region;%0A    %7D%0A%0A    @Column(name = %22TIMEZONE_UTC_DIFF%22)%0A    public Integer getTimeZone() %7B%0A        return timeZone;%0A    %7D%0A%0A    public void setTimeZone(Integer timeZone) %7B%0A        this.timeZone = timeZone;%0A    %7D%0A%0A    @Column(name = %22LAST_UPDATE_TM%22)%0A    public Timestamp getLastUpdateTm() %7B%0A        return lastUpdateTm;%0A    %7D%0A%0A    public void setLastUpdateTm(Timestamp lastUpdateTm) %7B%0A        this.lastUpdateTm = lastUpdateTm;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        Exchange exchange = (Exchange) o;%0A%0A        return new EqualsBuilder()%0A                .append(name, exchange.name)%0A                .append(country, exchange.country)%0A                .isEquals();%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return new HashCodeBuilder(17, 37)%0A                .append(name)%0A                .append(country)%0A                .toHashCode();%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Exchange%7B%22 +%0A                %22name='%22 + name + '%5C'' +%0A                '%7D';%0A    %7D%0A%7D%0A

add Exchange