| | |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | @ExcelProperty("发现日期时间") |
| | | @ColumnWidth(30) |
| | | private Date findDt; |
| | | |
| | | /** |
| | | * 在线状态;1-在线,2-离线 |
| | | */ |
| | | @Schema(description = "在线状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @ExcelProperty("在线状态") |
| | | @ColumnWidth(1) |
| | | @Max(message = "在线状态只能1或2", value = 2) |
| | | @Min(message = "在线状态只能1或2",value = 1) |
| | | private byte onlineState; |
| | | } |