|
|
|
|
@ -24,6 +24,15 @@ public static void main(String[] args) {
|
|
|
|
|
notice.setNoticeStatus(0);
|
|
|
|
|
notice.setCreateTime("2026-4-10 09:00:00");
|
|
|
|
|
System.out.println(notice);
|
|
|
|
|
//通过new的方式实例化Dict对象
|
|
|
|
|
Dict dict = new Dict();
|
|
|
|
|
dict.setDictId(1);
|
|
|
|
|
dict.setDictType("income_type");
|
|
|
|
|
dict.setDictCode(new String("1"));
|
|
|
|
|
dict.setDictName("工资收入");
|
|
|
|
|
dict.setDictSort(1);
|
|
|
|
|
dict.setIsValid("Y");
|
|
|
|
|
System.out.println(dict);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|