hibernate annotation model属性默认值
@Column(name = "ALARMED_SWITCH",columnDefinition="NUMBER(2) default 0")
public Integer getAlarmedSwitch() {
return alarmedSwitch;
}
public void setAlarmedSwitch(Integer alarmedSwitch) {
this.alarmedSwitch = alarmedSwitch;
}