package org.springnewfiber.dataadapter.xf.entity; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * @program: newfiber-data-adapter * @description: * @author: djt * @create: 2022-06-14 14:38 **/ @Data public class BaseXfInterfaceEntity implements Serializable { @JsonProperty(value ="st") @ApiModelProperty(value = "站码") private String stcd; @JSONField(serialize = false) @ApiModelProperty(value = "测站名称") private String stnm; @JsonProperty(value ="tt") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "监测时间") private Date tm; }