package cn.lili.modules.lmk.domain.vo;
|
|
import cn.lili.base.AbsVo;
|
import cn.lili.modules.lmk.domain.entity.VideoTag;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.beans.BeanUtils;
|
import org.springframework.lang.NonNull;
|
|
/**
|
* 视频标签展示
|
*
|
* @author xp
|
* @since 2025-05-13
|
*/
|
@Data
|
@ApiModel(value = "视频标签响应数据", description = "视频标签响应数据")
|
public class WxVideoTagVO {
|
|
private String id;
|
|
/** 标签名称 */
|
@ApiModelProperty("标签名称")
|
private String tagName;
|
|
|
public static WxVideoTagVO getVoByEntity(@NonNull VideoTag entity, WxVideoTagVO vo) {
|
if(vo == null) {
|
vo = new WxVideoTagVO();
|
}
|
BeanUtils.copyProperties(entity, vo);
|
return vo;
|
}
|
|
}
|