k.e.book.ddh.entity.CcUserBoxDetailQueryDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import k.e.book.common.model.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
* 请求分页的实体
*
* @author kk
* @date 2023-05-21 14:20
*/
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value="CcUserBoxDetailQueryDTO", description="CcUserBoxDetail")
public class CcUserBoxDetailQueryDTO extends PageRequest implements Serializable{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "上级id")
private Integer parentId;
@ApiModelProperty(value = "userId")
private Integer userId;
@ApiModelProperty(value = "卖家id")
private Integer sellerId;
@ApiModelProperty(value = "用户拥有盲盒id")
private Integer userBoxId;
@ApiModelProperty(value = "盲盒编号")
private Integer boxId;
@ApiModelProperty(value = "项目编号")
private Integer itemId;
@ApiModelProperty(value = "amount")
private Long amount;
@ApiModelProperty(value = "数量")
private Integer quantity;
@ApiModelProperty(value = "createtime")
private Integer createtime;
@ApiModelProperty(value = "状态:0=未发放,1=已发放 2:挂售中 3:已售出 4:锁定中")
private Integer 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;
}