k.e.book.ddh.entity.CcItemAddDTO 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="CcItemAddDTO", description="CcItem")
public class CcItemAddDTO implements Serializable{
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "项目序号")
private String sn;
@ApiModelProperty(value = "编号")
private Integer number;
@ApiModelProperty(value = "创作者编号")
private Integer authorId;
@ApiModelProperty(value = "产品编号")
private Integer productId;
@ApiModelProperty(value = "NFT编号")
private Integer tokenId;
@ApiModelProperty(value = "副标题")
private String subject;
@ApiModelProperty(value = "封面")
private String image;
@ApiModelProperty(value = "金额数量")
private Integer amount;
@ApiModelProperty(value = "币种")
private String priceunit;
@ApiModelProperty(value = "创建时间")
private Integer createtime;
@ApiModelProperty(value = "更新时间")
private Integer updatetime;
@ApiModelProperty(value = "删除时间")
private Integer deletetime;
@ApiModelProperty(value = "状态:0=隐藏,1=开放购买,2=已售罄,3=销毁中,4=已销毁,5=锁定中")
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;
}