删除json序列化not_empty限制

yun-zuoyi
alwaysfrin 6 years ago
parent 2830bd0376
commit 6971fdbf60

@ -25,7 +25,7 @@ import java.io.Serializable;
@Entity
//以子类table为准
@javax.persistence.Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
@JsonInclude(value = JsonInclude.Include.NON_EMPTY) //""或null属性不参加序列转换
//@JsonInclude(value = JsonInclude.Include.NON_EMPTY) //""或null属性不参加序列转换
public abstract class BaseBean implements Serializable {
private static final long serialVersionUID = 1L;

Loading…
Cancel
Save