copy from framework/src/main/java/cn/lili/modules/lmk/domain/vo/CustomerTagVO.java
copy to framework/src/main/java/cn/lili/modules/lmk/domain/vo/GoodsTagVO.java
File was copied from framework/src/main/java/cn/lili/modules/lmk/domain/vo/CustomerTagVO.java |
| | |
| | | package cn.lili.modules.lmk.domain.vo; |
| | | |
| | | import cn.lili.base.AbsVo; |
| | | |
| | | import java.util.List; |
| | | |
| | | import cn.lili.modules.lmk.domain.entity.CustomerTag; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import cn.lili.modules.lmk.domain.entity.MemberTag; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import java.util.Date; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.lang.NonNull; |
| | | |
| | | /** |
| | | * 展示 |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "响应数据", description = "响应数据") |
| | | public class CustomerTagVO extends AbsVo { |
| | | 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 CustomerTagVO getVoByEntity(@NonNull CustomerTag entity, CustomerTagVO vo) { |
| | | if(vo == null) { |
| | | vo = new CustomerTagVO(); |
| | | public static GoodsTagVO getVoByEntity(@NonNull MemberTag entity, GoodsTagVO vo) { |
| | | if (vo == null) { |
| | | vo = new GoodsTagVO(); |
| | | } |
| | | BeanUtils.copyProperties(entity, vo); |
| | | return vo; |