mongo映射java bean 需要默认构造函数

back_recharge
jiahuiwen 2021-11-04 14:25:42 +08:00
parent aef4398c40
commit 11470e73b3
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,10 @@ public class TaSuiHero {
return godSoulLv;
}
public TaSuiHero(int tempId, int leve, int star,int godSoulLv) {
public TaSuiHero() {
}
public TaSuiHero(int tempId, int leve, int star, int godSoulLv) {
this.tempId = tempId;
this.leve = leve;
this.star = star;