peng
昨天 9478f791a1f3a6fa6eb4246c894cfbcd758fef56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package cn.lili.modules.lmk.domain.vo;
 
import cn.lili.base.AbsVo;
import cn.lili.modules.lmk.domain.entity.ShareAction;
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 java.util.Date;
 
/**
 * 用户行为分享展示
 *
 * @author peng
 * @since 2025-09-25
 */
@Data
@ApiModel(value = "用户行为分享响应数据", description = "用户行为分享响应数据")
public class ShareActionVO extends AbsVo {
 
    /** 用户id */
    @ApiModelProperty("用户id")
    private Long userId;
 
    /** 分享参数 */
    @ApiModelProperty("分享参数")
    private String shareOption;
 
    /** 页面编码 */
    @ApiModelProperty("页面编码")
    private String pageCode;
 
    /** 页面类型 */
    @ApiModelProperty("页面类型")
    private String pageType;
 
    /** pid */
    @ApiModelProperty("pid")
    private Long pid;
 
    public static ShareActionVO getVoByEntity(@NonNull ShareAction entity, ShareActionVO vo) {
        if(vo == null) {
            vo = new ShareActionVO();
        }
        BeanUtils.copyProperties(entity, vo);
        return vo;
    }
 
}