Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/model/sinfo/DailyDischarge.java @ 9038:4c5eeaff554c
Database column "comment" renamed to "notes" (restrictions in Oracle)
author | mschaefer |
---|---|
date | Wed, 02 May 2018 06:56:21 +0200 |
parents | 50416a0df385 |
children |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/sinfo/DailyDischarge.java Mon Apr 30 18:06:31 2018 +0200 +++ b/backend/src/main/java/org/dive4elements/river/model/sinfo/DailyDischarge.java Wed May 02 06:56:21 2018 +0200 @@ -49,7 +49,7 @@ private String filename; - // private String comment; + // private String notes; private Gauge gauge; @@ -62,11 +62,11 @@ } - public DailyDischarge(final Gauge gauge, final String filename, final String comment) { + public DailyDischarge(final Gauge gauge, final String filename, final String notes) { this.gauge = gauge; // this.river = river; this.filename = filename; - // this.comment = comment; + // this.notes = notes; this.values = new ArrayList<>(); } @@ -122,13 +122,13 @@ // this.kmrange_info = kmrange_info; // } - // @Column(name = "comment") - // public String getComment() { - // return this.comment; + // @Column(name = "notes") + // public String getNotes() { + // return this.notes; // } - // public void setComment(final String comment) { - // this.comment = comment; + // public void setNotes(final String notes) { + // this.notes = notes; // } @OneToMany