k.e.book.ddh.entity.CcUserBoxDetailAddDTO 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="CcUserBoxDetailAddDTO", description="CcUserBoxDetail")
public class CcUserBoxDetailAddDTO implements Serializable{
@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;
}