| | |
| | | |
| | | import com.ycl.platform.base.AbsVo; |
| | | import com.ycl.platform.domain.entity.Notify; |
| | | import java.util.List; |
| | | import java.time.LocalDateTime; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | | import enumeration.general.NotifyTypeEnum; |
| | | import enumeration.general.UrgentLevelEnum; |
| | | import enumeration.general.YesOrNoEnum; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.lang.NonNull; |
| | | |
| | | /** |
| | | * 通知展示 |
| | |
| | | public class NotifyVO extends AbsVo { |
| | | |
| | | /** 通知类型 */ |
| | | private String notifyType; |
| | | private NotifyTypeEnum notifyType; |
| | | |
| | | /** 通知内容 */ |
| | | private String content; |
| | | |
| | | /** 通知谁 */ |
| | | private Integer notifyWho; |
| | | |
| | | /** 已读 */ |
| | | private String readed; |
| | | private YesOrNoEnum readed; |
| | | |
| | | /** 紧急 */ |
| | | private String urgent; |
| | | private UrgentLevelEnum urgent; |
| | | |
| | | /** 工单ID */ |
| | | private Integer workOrderId; |
| | | /** 工单号 */ |
| | | private String workOrderNo; |
| | | |
| | | |
| | | public static NotifyVO getVoByEntity(@NonNull Notify entity, NotifyVO vo) { |
| | | if(vo == null) { |