首页>代码>SpringBoot+Quartz动态定时任务>/SpringBootDynamicTask/src/main/java/com/simon/springbootdynamictask/common/BaseHelper.java
package com.simon.springbootdynamictask.common; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import java.io.Serializable; /** * @author author * @JsonInclude 实体类与json互转的时候 属性值为null的不参与序列化 */ @JsonInclude(Include.ALWAYS) public class BaseHelper implements Serializable { private static final long serialVersionUID = 1L; protected BaseHelper() { } }