Created
April 25, 2016 19:46
-
-
Save bh5k/accd5d04de014ea10041c1d19d8b13eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.pluralsight.model; | |
import org.hibernate.validator.constraints.Range; | |
public class Goal { | |
@Range(min = 1, max = 120) | |
private int minutes; | |
public int getMinutes() { | |
return minutes; | |
} | |
public void setMinutes(int minutes) { | |
this.minutes = minutes; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment