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;
|
}
|
|
}
|