package org.springnewfiber.dataadapter.sswj.entity; import com.alibaba.fastjson.annotation.JSONField; import com.baomidou.mybatisplus.annotation.TableField; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; /** * @program: newfiber-data-adapter * @description: * @author: djt * @create: 2022-04-21 19:22 **/ @Data public class BaseSwjEntity implements Serializable { /** * 站码 */ @ApiModelProperty(value = "站码") @TableField(value = "DATA_UP_UUID") @JSONField(name = "st") private String dataUpUuid; /** * 数据状态 */ @ApiModelProperty(value = "数据状态") @TableField(value = "DATA_UP_STATUS") @JSONField(serialize=false) private String dataUpStatus; /** * 录入时间 */ @ApiModelProperty(value = "录入时间") @TableField(value = "DATA_UP_TIME") @JSONField(name="ut",format = "yyyy-MM-dd HH:mm:ss") private Date dataUpTime; }