package com.sedc.core.model;


public class SourceCenter {
}

@@ -28,34 +28,2570 @@
 ;%0A%0A%0A
-public class SourceCenter %7B
+import org.apache.commons.lang3.builder.EqualsBuilder;%0Aimport org.apache.commons.lang3.builder.HashCodeBuilder;%0Aimport org.hibernate.annotations.Type;%0A%0Aimport javax.persistence.*;%0Aimport java.sql.Timestamp;%0A%0A@Entity%0A@Cacheable%0A@Table(name = %22SOURCE_CENTER%22)%0A@Inheritance(strategy = InheritanceType.SINGLE_TABLE)%0Apublic class SourceCenter %7B%0A%0A    private Long scId;%0A    private String name;%0A    private String description;%0A    private Timestamp lastUpdateTm;%0A    private Boolean activeFlag;%0A%0A    @Id%0A    @SequenceGenerator(name = %22SOURCE_CENTER_GEN%22, sequenceName = %22S_SOURCE_CENTER_PK%22)%0A    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = %22SOURCE_CENTER_GEN%22)%0A    @Column(name = %22SC_ID%22)%0A    public Long getScId() %7B%0A        return scId;%0A    %7D%0A%0A    public void setScId(Long scId) %7B%0A        this.scId = scId;%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 = %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    @Column(name = %22ACTIVE_FLAG%22)%0A    @Type(type = %22yes_no%22)%0A    public Boolean getActiveFlag() %7B%0A        return activeFlag;%0A    %7D%0A%0A    public void setActiveFlag(Boolean activeFlag) %7B%0A        this.activeFlag = activeFlag;%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        SourceCenter that = (SourceCenter) o;%0A%0A        return new EqualsBuilder()%0A                .append(scId, that.scId)%0A                .append(name, that.name)%0A                .append(description, that.description)%0A                .append(lastUpdateTm, that.lastUpdateTm)%0A                .append(activeFlag, that.activeFlag)%0A                .isEquals();%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return new HashCodeBuilder(17, 37)%0A                .append(scId)%0A                .append(name)%0A                .append(description)%0A                .append(lastUpdateTm)%0A                .append(activeFlag)%0A                .toHashCode();%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22SourceCenter%7B%22 + %22name=%22 + name + '%7D';%0A    %7D
 %0A%7D%0A

add SourceCenter