Browse Source

Merge branch 'milestone-20250710-jhp' of http://39.101.133.168:8807/qimaohong/ActivityProject into lottery

milestone-20250731-积分频道身份标识
willy 1 month ago
parent
commit
c6069117f3
  1. 80
      lottery-system/lottery-pojo/src/main/java/com/lottery/dto/Prize.java

80
lottery-system/lottery-pojo/src/main/java/com/lottery/dto/Prize.java

@ -0,0 +1,80 @@
package com.lottery.dto;
import lombok.Data;
/**
* @program: lottery-system
* @ClassName Gift
* @description:
* @author:jihaipeng
* @create: 202507-10 15:20
* @Version 1.0
**/
import java.math.BigDecimal;
import java.util.Date;
public class Prize {
// 主键ID
private Long id;
// 名称
private String name;
// 描述
private String description;
// 图片URL
private String imageUrl;
// 库存数量
private Integer stock;
// 中奖概率
private BigDecimal probability;
// 奖品类型
private Integer prizeType;
// 状态
private Integer status;
// 创建时间
private Date createTime;
// 更新时间
private Date updateTime;
// 无参构造函数
public Prize() {
}
// 全参构造函数可选
public Prize(Long id, String name, String description, String imageUrl, Integer stock,
BigDecimal probability, Integer prizeType, Integer status,
Date createTime, Date updateTime) {
this.id = id;
this.name = name;
this.description = description;
this.imageUrl = imageUrl;
this.stock = stock;
this.probability = probability;
this.prizeType = prizeType;
this.status = status;
this.createTime = createTime;
this.updateTime = updateTime;
}
// Getter Setter 方法
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public
Loading…
Cancel
Save