mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-17 11:53:06 +00:00
Use constructor for datasetvalidation class
This commit is contained in:
parent
d9f4898fa9
commit
ee6df4531f
@ -12,7 +12,9 @@
|
|||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
*/
|
*/
|
||||||
package wherehows.models.view;
|
package wherehows.models.view;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
|
||||||
|
@AllArgsConstructor
|
||||||
public class DatasetValidation {
|
public class DatasetValidation {
|
||||||
|
|
||||||
private String tier;
|
private String tier;
|
||||||
@ -24,12 +26,4 @@ public class DatasetValidation {
|
|||||||
private float weight;
|
private float weight;
|
||||||
|
|
||||||
private String validator;
|
private String validator;
|
||||||
|
|
||||||
public DatasetValidation(String tier, float score, String description, float weight, String validator) {
|
|
||||||
this.tier = tier;
|
|
||||||
this.score = score;
|
|
||||||
this.description = description;
|
|
||||||
this.weight = weight;
|
|
||||||
this.validator = validator;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user