2026-06-24 f4bd1f3c89d906131495a0aca5aaf82966378510
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
52
53
54
package cn.iocoder.yudao.module.promotion.controller.app.bargain.vo.record;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
@Schema(description = "用户 App - 砍价记录的明细 Response VO")
@Data
public class AppBargainRecordDetailRespVO {
 
    public static final int HELP_ACTION_NONE = 1; // 帮砍动作 - 未帮砍,可以帮砍
    public static final int HELP_ACTION_FULL = 2; // 帮砍动作 - 未帮砍,无法帮砍(可帮砍次数已满)
    public static final int HELP_ACTION_SUCCESS = 3; // 帮砍动作 - 已帮砍
 
    // ========== 砍价记录 ==========
 
    @Schema(description = "砍价记录编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
    private Long userId;
 
    @Schema(description = "商品 SPU 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    private Long spuId;
    @Schema(description = "商品 SKU 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    private Long skuId;
 
    @Schema(description = "活动编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    private Long activityId;
 
    @Schema(description = "砍价起始价格,单位:分", requiredMode = Schema.RequiredMode.REQUIRED, example = "23")
    private Integer bargainFirstPrice;
 
    @Schema(description = "当前砍价,单位:分", requiredMode = Schema.RequiredMode.REQUIRED, example = "23")
    private Integer bargainPrice;
 
    @Schema(description = "砍价记录状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;
 
    // ========== 订单相关 ========== 注意:只有是自己的砍价记录,才会返回,保证隐私性
 
    @Schema(description = "订单编号", example = "1024")
    private Long orderId;
 
    @Schema(description = "支付状态", example = "true")
    private Boolean payStatus;
 
    @Schema(description = "支付订单编号", example = "1024")
    private Long payOrderId;
 
    // ========== 助力记录 ==========
 
    private Integer helpAction;
 
}