Skip to content

Instantly share code, notes, and snippets.

@gitbricho
Created November 14, 2014 01:09
Show Gist options
  • Save gitbricho/e0df54880e7c1bfee21a to your computer and use it in GitHub Desktop.
Save gitbricho/e0df54880e7c1bfee21a to your computer and use it in GitHub Desktop.
healthcare: com.itrane.healthcare.command.VitalCmd
/**
* home.html のバイタル入力クラス
*/
public class VitalCmd {
//Vital
@Size(max=20)
private String name;
@Size(max=10)
private String sokuteiJikan;
@NotNull
@Size(min=1, max=5)
private String sokuteiTi;
//VMS
private String yoteiJikan;
private String type;
private String errMsg;
private double kijunMin;
private double kijunMax;
public VitalCmd(String name, String sokuteiJikan, String sokuteiTi,
String yoteiJikan, String type, String errMsg, double kijunMin,
double kijunMax) {
super();
this.name = name;
this.sokuteiJikan = sokuteiJikan;
this.sokuteiTi = sokuteiTi;
this.yoteiJikan = yoteiJikan;
this.type = type;
this.errMsg = errMsg;
this.kijunMin = kijunMin;
this.kijunMax = kijunMax;
}
...
//getter , setter 省略
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment