# HG changeset patch # User Andre Heinecke # Date 1361371732 -3600 # Node ID 2d68969bd2dcd7a47b58b59afdb9d08d740c7f69 # Parent 91630b503ca8c6db580723e07c9b99a0d292fb37 Add srid column to dem model diff -r 91630b503ca8 -r 2d68969bd2dc flys-backend/src/main/java/de/intevation/flys/model/DGM.java --- a/flys-backend/src/main/java/de/intevation/flys/model/DGM.java Wed Feb 20 15:43:11 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/model/DGM.java Wed Feb 20 15:48:52 2013 +0100 @@ -22,6 +22,7 @@ public class DGM implements Serializable { private Integer id; + private Integer srid; private River river; @@ -82,6 +83,14 @@ return path; } + public void setSrid(int srid) { + this.srid = srid; + } + + @Column(name = "srid") + public int getSrid() { + return srid; + } public static DGM getDGM(int id) { Session session = SessionHolder.HOLDER.get();