| | |
| | | package cn.lili.modules.lmk.domain.vo; |
| | | |
| | | import cn.lili.base.AbsVo; |
| | | import cn.lili.modules.lmk.domain.entity.Activity; |
| | | import cn.lili.modules.lmk.domain.entity.ActivityReport; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.lang.NonNull; |
| | | |
| | | @Data |
| | | @ApiModel(value = "ActivityReport中间表响应数据", description = "响应数据") |
| | |
| | | |
| | | /** 用户id*/ |
| | | private String userId; |
| | | |
| | | private Boolean cancel; |
| | | |
| | | public static ActivityReportVO getVoByEntity(@NonNull ActivityReport entity, ActivityReportVO vo) { |
| | | if(vo == null) { |
| | | vo = new ActivityReportVO(); |
| | | } |
| | | BeanUtils.copyProperties(entity, vo); |
| | | return vo; |
| | | } |
| | | } |