peng
2 天以前 64afdb6371aef321db882f3659ba1d2c2e82ad41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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;
    }
 
}