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

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

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

    @ApiModelProperty(value = "上级id")
    private Integer parentId;

    @ApiModelProperty(value = "盲盒编号")
    private Integer boxId;

    @ApiModelProperty(value = "用户编号")
    private Integer userId;

    @ApiModelProperty(value = "卖家编号")
    private Integer sellerId;

    @ApiModelProperty(value = "订单id")
    private String orderid;

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

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

    @ApiModelProperty(value = "未开盒数量")
    private Integer unopenQty;

    @ApiModelProperty(value = "已开盒数量")
    private Integer openQty;

    @ApiModelProperty(value = "项目编号")
    private String itemIds;

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

    @ApiModelProperty(value = "更新时间")
    private Integer updatetime;

    @ApiModelProperty(value = "删除时间")
    private Integer deletetime;

    @ApiModelProperty(value = "状态:0=隐藏,1=未开盒,2=已开盒,3=已开完,4=未定义,5=暂未分配,6=挂售中,7=已售出,8=锁定中")
    private String status;

    @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