package cn.lili.modules.lmk.domain.vo;
|
|
|
import cn.lili.base.AbsVo;
|
import cn.lili.modules.lmk.domain.entity.CustomerBlack;
|
import org.springframework.lang.NonNull;
|
import org.springframework.beans.BeanUtils;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import java.util.Date;
|
|
/**
|
* 客户黑名单展示
|
*
|
* @author zxl
|
* @since 2025-05-15
|
*/
|
@Data
|
@ApiModel(value = "客户黑名单响应数据", description = "客户黑名单响应数据")
|
public class CustomerBlackVO extends AbsVo {
|
|
/** 店铺id */
|
@ApiModelProperty("店铺id")
|
private String storeId;
|
|
/** 用户id */
|
@ApiModelProperty("用户id")
|
private String userId;
|
/** 创建方式 */
|
@ApiModelProperty("创建方式")
|
private String createType;
|
|
@ApiModelProperty("用户名")
|
private String username;
|
|
@ApiModelProperty("昵称")
|
private String nickName;
|
|
@ApiModelProperty(value = "会员地址")
|
private String region;
|
|
|
public static CustomerBlackVO getVoByEntity(@NonNull CustomerBlack entity, CustomerBlackVO vo) {
|
if(vo == null) {
|
vo = new CustomerBlackVO();
|
}
|
BeanUtils.copyProperties(entity, vo);
|
return vo;
|
}
|
|
}
|