package cn.lili.modules.lmk.domain.vo; import cn.lili.base.AbsVo; import cn.lili.modules.lmk.domain.entity.StoreTagRef; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.beans.BeanUtils; import org.springframework.lang.NonNull; @Data @ApiModel(value = "客户标签中间表响应数据", description = "客户标签中间表响应数据") public class StoreTagRefVO extends AbsVo { /** */ @ApiModelProperty("") private String storeId; /** */ @ApiModelProperty("") private String storeTagId; private String tagName; public static StoreTagRefVO getVoByEntity(@NonNull StoreTagRef entity, StoreTagRefVO vo) { if(vo == null) { vo = new StoreTagRefVO(); } BeanUtils.copyProperties(entity, vo); return vo; } }