Browse Source
Merge branch 'milestone-20250710-jhp' of http://39.101.133.168:8807/qimaohong/ActivityProject into lottery
milestone-20250731-积分频道身份标识
Merge branch 'milestone-20250710-jhp' of http://39.101.133.168:8807/qimaohong/ActivityProject into lottery
milestone-20250731-积分频道身份标识
1 changed files with 80 additions and 0 deletions
@ -0,0 +1,80 @@ |
|||
package com.lottery.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @program: lottery-system |
|||
* @ClassName Gift |
|||
* @description: |
|||
* @author:jihaipeng |
|||
* @create: 2025−07-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 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue