All Downloads are FREE. Search and download functionalities are using the official Maven repository.

k.e.book.ddh.entity.CcBoxAddDTO 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="CcBoxAddDTO", description="CcBox")
public class CcBoxAddDTO implements Serializable{

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String subject;

    @ApiModelProperty(value = "首页封面图")
    private String himage;

    @ApiModelProperty(value = "封面")
    private String images;

    @ApiModelProperty(value = "开盒背景图")
    private String bgimg;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "已售数量")
    private Integer soldQty;

    @ApiModelProperty(value = "金额数量")
    private Integer amount;

    @ApiModelProperty(value = "购买限制")
    private Integer purchaselimit;

    @ApiModelProperty(value = "白名单开关:0=关闭,1=开启")
    private Integer whitelist;

    @ApiModelProperty(value = "购买须知")
    private String purchasetips;

    @ApiModelProperty(value = "创建时间")
    private Integer createtime;

    @ApiModelProperty(value = "deletetime")
    private Integer deletetime;

    @ApiModelProperty(value = "开始时间")
    private Integer starttime;

    @ApiModelProperty(value = "开盒时间")
    private Integer opentime;

    @ApiModelProperty(value = "开盒结束时间")
    private Integer openendtime;

    @ApiModelProperty(value = "转售时间")
    private Integer selltime;

    @ApiModelProperty(value = "tag")
    private String tag;

    @ApiModelProperty(value = "标志")
    private String flag;

    @ApiModelProperty(value = "h5购买链接")
    private String h5link;

    @ApiModelProperty(value = "状态:0=隐藏,1=上架,2=下架,3=售完")
    private String status;

    @ApiModelProperty(value = "市场购买获得积分费率")
    private Integer getscoreFee;

    @ApiModelProperty(value = "市场卖出获得积分费率")
    private Integer getscoreFeeSell;

    @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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy