package cn.lili.modules.lmk.domain.vo; import cn.lili.base.AbsVo; import cn.lili.modules.lmk.domain.entity.CustomerTagRef; 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 CustomerTagRefVO extends AbsVo { /** */ @ApiModelProperty("") private String customerId; /** */ @ApiModelProperty("") private String customerTagId; public static CustomerTagRefVO getVoByEntity(@NonNull CustomerTagRef entity, CustomerTagRefVO vo) { if(vo == null) { vo = new CustomerTagRefVO(); } BeanUtils.copyProperties(entity, vo); return vo; } }