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