k.e.book.ddh.entity.CcDrawConfigAddDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:25
*/
@Data
@ApiModel(value="CcDrawConfigAddDTO", description="CcDrawConfig")
public class CcDrawConfigAddDTO implements Serializable{
@ApiModelProperty(value = "编号ID")
private Integer id;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "类型:1=藏品,2=盲盒")
private Integer type;
@ApiModelProperty(value = "藏品ID")
private Integer relationProductId;
@ApiModelProperty(value = "盲盒ID")
private Integer relationBoxId;
@ApiModelProperty(value = "资格藏品ID")
private String relationZgId;
@ApiModelProperty(value = "状态:0=禁用,1=启用")
private Integer status;
@ApiModelProperty(value = "状态:0=未处理,1=已开签,2=已推送")
private Integer openStatus;
@ApiModelProperty(value = "最大抽签次数")
private Integer maxDrawNum;
@ApiModelProperty(value = "中签人数")
private Integer winnerNum;
@ApiModelProperty(value = "开始时间")
private Integer startTime;
@ApiModelProperty(value = "结束时间")
private Integer endTime;
@ApiModelProperty(value = "中签公布时间")
private Integer openTime;
@ApiModelProperty(value = "创建时间")
private Integer createtime;
@ApiModelProperty(value = "更新时间")
private Integer updatetime;
@ApiModelProperty(value = "删除时间")
private Integer deletetime;
@ApiModelProperty(value = "createdAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@ApiModelProperty(value = "updatedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedAt;
@ApiModelProperty(value = "deletedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date deletedAt;
}