package cn.lili.modules.lmk.domain.vo;
|
|
import cn.lili.base.AbsVo;
|
import cn.lili.modules.lmk.domain.entity.MemberTag;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.beans.BeanUtils;
|
import org.springframework.lang.NonNull;
|
|
/**
|
* 展示
|
*
|
* @author zxl
|
* @since 2025-05-14
|
*/
|
@Data
|
@ApiModel(value = "响应数据", description = "响应数据")
|
public class GoodsTagVO extends AbsVo {
|
|
@ApiModelProperty("标签Id")
|
private String tagId;
|
|
@ApiModelProperty("客户id")
|
private String goodsId;
|
|
/**
|
*
|
*/
|
@ApiModelProperty("标签名称")
|
private String tagName;
|
|
/**
|
*
|
*/
|
@ApiModelProperty("创建方式")
|
private String createType;
|
|
|
public static GoodsTagVO getVoByEntity(@NonNull MemberTag entity, GoodsTagVO vo) {
|
if (vo == null) {
|
vo = new GoodsTagVO();
|
}
|
BeanUtils.copyProperties(entity, vo);
|
return vo;
|
}
|
|
}
|