Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/model/uinfo/Vegetation.java @ 9401:361de818f76e
Added color fields to the vegetation zone database table and importer, max days field changed from exclusive to inclusive
author | mschaefer |
---|---|
date | Tue, 14 Aug 2018 14:02:26 +0200 |
parents | 4c5eeaff554c |
children |
comparison
equal
deleted
inserted
replaced
9400:8e100593aec3 | 9401:361de818f76e |
---|---|
67 this.name = name; | 67 this.name = name; |
68 this.notes = notes; | 68 this.notes = notes; |
69 this.values = new ArrayList<>(); | 69 this.values = new ArrayList<>(); |
70 } | 70 } |
71 | 71 |
72 | |
72 /***** METHODS *****/ | 73 /***** METHODS *****/ |
73 | 74 |
74 @Id | 75 @Id |
75 @SequenceGenerator(name = "SEQUENCE_VEGETATION_ID_SEQ", sequenceName = "VEGETATION_ID_SEQ", allocationSize = 1) | 76 @SequenceGenerator(name = "SEQUENCE_VEGETATION_ID_SEQ", sequenceName = "VEGETATION_ID_SEQ", allocationSize = 1) |
76 @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQUENCE_VEGETATION_ID_SEQ") | 77 @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQUENCE_VEGETATION_ID_SEQ") |