package au.gov.ga.geodesy.domain.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "gnss_cors_site")
public class GnssCorsSite extends Site {

    /**
     * Business id
     */
    @Column(name = "four_character_id", length = 4, nullable = false, unique = true)
    private String fourCharacterId;

    @Column(name = "DOMES_NUMBER", nullable = false, unique = true)
    private String domesNumber;

    @SuppressWarnings("unused") // hibernate needs the default constructor
    private GnssCorsSite() {
    }

    public GnssCorsSite(String fourCharacterId) {
        super();
        /* gnssCorsSiteId = id; */
        setFourCharacterId(fourCharacterId);
    }

    public String getFourCharacterId() {
        return fourCharacterId;
    }

    private void setFourCharacterId(String fourCharacterId) {
        this.fourCharacterId = fourCharacterId;
    }

    public String getDomesNumber() {
        return domesNumber;
    }

    public void setDomesNumber(String domesNumber) {
        this.domesNumber = domesNumber;
    }
}

@@ -160,22 +160,22 @@
  = %22
-gnss_cors_site
+GNSS_CORS_SITE
 %22)%0Ap
@@ -274,25 +274,25 @@
  = %22
-four_character_id
+FOUR_CHARACTER_ID
 %22, l
@@ -655,43 +655,8 @@
 ();%0A
-        /* gnssCorsSiteId = id; */%0A
     

Tidy up.