@Column(name = "ALARMED_SWITCH",columnDefinition="NUMBER(2) default 0")
public Integer getAlarmedSwitch() {
return alarmedSwitch;
}
public void setAlarmedSwitch(Integer alarmedSwitch) {
this.alarmedSwitch = alarmedSwitch;
}
hibernate annotation model属性默认值
最新推荐文章于 2022-02-19 17:45:24 发布