| | |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springblade.core.mp.base.BaseEntity; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("sys_post_filing") |
| | | public class PostFiling implements Serializable { |
| | | public class PostFiling extends BaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | |
| | | * 位置经度坐标 |
| | | */ |
| | | @ApiModelProperty(value = "位置经度坐标") |
| | | private String x; |
| | | private String lon; |
| | | |
| | | /** |
| | | * 位置纬度坐标 |
| | | */ |
| | | @ApiModelProperty(value = "位置纬度坐标") |
| | | private String y; |
| | | private String lat; |
| | | |
| | | //位置 |
| | | private String position; |
| | | |
| | | /** |
| | | * 上岗时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date dutyTime; |
| | | // @JsonFormat(pattern = "HH:mm", timezone = "GMT+8") |
| | | // @DateTimeFormat(pattern = "HH:mm") |
| | | private String dutyTime; |
| | | |
| | | /** |
| | | * 下岗时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date layoffTime; |
| | | // @JsonFormat(pattern = "HH:mm", timezone = "GMT+8") |
| | | // @DateTimeFormat(pattern = "HH:mm") |
| | | private String layoffTime; |
| | | |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | @ApiModelProperty("创建人") |
| | | private Long createUser; |
| | | //距离,默认50m |
| | | private Double distance; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty("创建时间") |
| | | private Date createTime; |
| | | |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | @ApiModelProperty("更新人") |
| | | private Long updateUser; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty("更新时间") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 是否已删除 |
| | | */ |
| | | @TableLogic |
| | | @ApiModelProperty(value = "是否已删除") |
| | | private Integer isDeleted; |
| | | |
| | | |
| | | } |