| | |
| | | package com.panzhihua.common.model.vos.community.raffle; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | public class ComActRaffleVO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -19557136291047637L; |
| | | |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | |
| | | /** |
| | |
| | | * 开始时间 |
| | | */ |
| | | @ApiModelProperty(value = "开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
| | | private Date startTime; |
| | | |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | @ApiModelProperty(value = "结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
| | | private Date stopTime; |
| | | |
| | | /** |
| | | * 开奖时间 |
| | | */ |
| | | @ApiModelProperty(value = "开奖时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
| | | private Date lotteryTime; |
| | | |
| | | /** |
| | | * 兑奖开始时间 |
| | | */ |
| | | @ApiModelProperty(value = "兑奖开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
| | | private Date raffleStartTime; |
| | | |
| | | /** |
| | | * 兑奖结束时间 |
| | | */ |
| | | @ApiModelProperty(value = "兑奖结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
| | | private Date raffleStopTime; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value = "社区id") |
| | | private Long communityId; |
| | | |
| | | @ApiModelProperty(value = "奖品数量") |
| | | private Integer prizeCount; |
| | | |
| | | @ApiModelProperty(value = "参与人数") |
| | | private Integer joinCount; |
| | | |
| | |
| | | private Integer waitRaffleCount; |
| | | |
| | | @ApiModelProperty(value = "创建人名称") |
| | | private Integer createName; |
| | | private String createName; |
| | | |
| | | @ApiModelProperty(value = "奖品集合") |
| | | private List<ComActRafflePrizeVO> comActRafflePrizeVOList; |
| | | |
| | | @ApiModelProperty(value = "中奖情况") |
| | | private ComActRaffleRecordVO comActRaffleRecordVO; |
| | | |
| | | @ApiModelProperty(value = "参与状态 0 不可参与 1 可参与") |
| | | private Integer joinStatus; |
| | | |
| | | @ApiModelProperty("是否参与 0参与 1没参与") |
| | | private Integer isJoin; |
| | | } |