| | |
| | | package com.ycl.platform.domain.vo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.platform.base.AbsVo; |
| | | import com.ycl.platform.domain.entity.YwPoint; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | /** |
| | | * 运维点位展示 |
| | |
| | | * @since 2024-03-05 |
| | | */ |
| | | @Data |
| | | @Accessors(chain = true) |
| | | public class YwPointVO extends AbsVo { |
| | | |
| | | /** 点位名称 */ |
| | | private String pointName; |
| | | |
| | | /** 点位开始时间 */ |
| | | private LocalDateTime startTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date startTime; |
| | | |
| | | /** 点位结束时间 */ |
| | | private LocalDateTime endTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date endTime; |
| | | |
| | | /** 运维单位 */ |
| | | private Integer unitId; |
| | | private Long unitId; |
| | | private String unitName; |
| | | |
| | | /** 运维状态 */ |
| | |
| | | /** 备注 */ |
| | | private String remark; |
| | | |
| | | private Short category; |
| | | |
| | | /** 监管部门 */ |
| | | private Long deptId; |
| | | private List<Long> deptIds; |
| | | private String deptName; |
| | | private String pointDetail; |
| | | |
| | | /** 重点点位标签 */ |
| | | private Boolean importantTag; |
| | | |
| | | /** 省厅点位标签 */ |
| | | private Boolean provinceTag; |
| | | |
| | | /** 重点指挥图像标签 */ |
| | | private Boolean importantCommandImageTag; |
| | | |
| | | /** 部级标签 */ |
| | | private Boolean deptTag; |
| | | |
| | | /** 国标码 */ |
| | | private String serialNumber; |
| | | |
| | | public static YwPointVO getVoByEntity(@NonNull YwPoint entity, YwPointVO vo) { |
| | | if(vo == null) { |