package cn.lili.modules.lmk.domain.vo; import cn.lili.base.AbsVo; import cn.lili.modules.lmk.domain.entity.StoreCouponClaimRecord; import java.util.List; 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 peng * @since 2025-09-25 */ @Data @ApiModel(value = "店铺优惠卷领取记录响应数据", description = "店铺优惠卷领取记录响应数据") public class StoreCouponClaimRecordVO extends AbsVo { /** 店铺名称 */ @ApiModelProperty("店铺名称") private String storeName; /** 优惠卷id */ @ApiModelProperty("优惠卷id") private Long couponId; /** 优惠卷名称 */ @ApiModelProperty("优惠卷名称") private String couponName; /** 店铺id */ @ApiModelProperty("店铺id") private Long storeId; /** 用户id */ @ApiModelProperty("用户id") private Long userId; public static StoreCouponClaimRecordVO getVoByEntity(@NonNull StoreCouponClaimRecord entity, StoreCouponClaimRecordVO vo) { if(vo == null) { vo = new StoreCouponClaimRecordVO(); } BeanUtils.copyProperties(entity, vo); return vo; } }