文档相关优化
This commit is contained in:
parent
bbce91879f
commit
1d73ece2f5
|
@ -61,15 +61,6 @@ public abstract class BaseEntity implements Serializable {
|
||||||
this.deleted = deleted;
|
this.deleted = deleted;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
|
||||||
* 是否为新建
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
@JSONField(serialize = false)
|
|
||||||
public boolean isNew(){
|
|
||||||
return getId() != null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* model对象转为map
|
* model对象转为map
|
||||||
* @return
|
* @return
|
||||||
|
|
Loading…
Reference in New Issue