|
|
|
@ -9,6 +9,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -83,6 +84,12 @@ public class LotteryAPPVO implements Serializable {
|
|
|
|
|
@ApiModelProperty(value = "停止原因")
|
|
|
|
|
private String stopReason;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "抽奖物品价格")
|
|
|
|
|
private BigDecimal price;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "发布时间")
|
|
|
|
|
private LocalDateTime publishTime;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiModelProperty(value = "本人是否参与抽奖 1-已参加 2-未参加")
|
|
|
|
|
private Integer isParticipate;
|
|
|
|
@ -117,6 +124,29 @@ public class LotteryAPPVO implements Serializable {
|
|
|
|
|
this.stopReason = stopReason;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public LotteryAPPVO(String id, String code, String title, Integer type, Integer num, Integer participant, Integer point, String regionCode, String regionName, LocalDateTime applyStartTime, LocalDateTime applyEndTime, LocalDateTime drawTime, Integer way, String image, String description, Integer status, LocalDateTime createTime, String stopReason, BigDecimal price, LocalDateTime publishTime) {
|
|
|
|
|
this.id = id;
|
|
|
|
|
this.code = code;
|
|
|
|
|
this.title = title;
|
|
|
|
|
this.type = type;
|
|
|
|
|
this.num = num;
|
|
|
|
|
this.participant = participant;
|
|
|
|
|
this.point = point;
|
|
|
|
|
this.regionCode = regionCode;
|
|
|
|
|
this.regionName = regionName;
|
|
|
|
|
this.applyStartTime = applyStartTime;
|
|
|
|
|
this.applyEndTime = applyEndTime;
|
|
|
|
|
this.drawTime = drawTime;
|
|
|
|
|
this.way = way;
|
|
|
|
|
this.image = image;
|
|
|
|
|
this.description = description;
|
|
|
|
|
this.status = status;
|
|
|
|
|
this.createTime = createTime;
|
|
|
|
|
this.stopReason = stopReason;
|
|
|
|
|
this.price = price;
|
|
|
|
|
this.publishTime = publishTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public LotteryAPPVO(String id, String code, String title, Integer type, Integer num, Integer participant, Integer point, String regionCode, String regionName, LocalDateTime applyStartTime, LocalDateTime applyEndTime, LocalDateTime drawTime, Integer way, String image, String description, Integer status, LocalDateTime createTime, String stopReason, Integer isParticipate) {
|
|
|
|
|
this.id = id;
|
|
|
|
|
this.code = code;
|
|
|
|
|