package com.jambit.feuermoni.model;


import javax.persistence.Embeddable;
import javax.validation.constraints.Min;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


@Embeddable
@Getter
@Setter
@ToString
public class VitalSigns {

    @Min(0)
    private int heartRate;

    @Min(0)
    private int stepCount;
}

@@ -246,33 +246,34 @@
 gns %7B%0A%0A    @Min(
-0
+-1
 )%0A    private in
@@ -299,9 +299,10 @@
 Min(
-0
+-1
 )%0A  

Allow -1 as special values meaning 'no data'