k.e.book.ddh.entity.CcOrderAttributeVO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:19
*/
@Data
@ApiModel(value="CcOrderAttributeVO", description="CcOrderAttribute")
public class CcOrderAttributeVO implements Serializable{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "订单编号")
private String orderid;
@ApiModelProperty(value = "用户id")
private Integer userId;
@ApiModelProperty(value = "卖方订单ID,当购买寄售时有值")
private Integer parentOrderId;
@ApiModelProperty(value = "卖家id")
private Integer sellerId;
@ApiModelProperty(value = "单价")
private Double price;
@ApiModelProperty(value = "数量")
private Integer quantity;
@ApiModelProperty(value = "总价")
private Double totalFee;
@ApiModelProperty(value = "itemId")
private Integer itemId;
@ApiModelProperty(value = "userBoxId")
private Integer userBoxId;
@ApiModelProperty(value = "订单详情 product:首购 market:转卖藏品 box盲盒 box_market:转卖盲盒")
private String itemDetail;
@ApiModelProperty(value = "创建时间")
private Integer createtime;
@ApiModelProperty(value = "更新时间")
private Integer updatetime;
@ApiModelProperty(value = "是否售出 1:是")
private Integer isSold;
@ApiModelProperty(value = "藏品id")
private Integer productId;
@ApiModelProperty(value = "白名单时间下单 0:正常 1:白名单下单")
private Boolean isWhite;
@ApiModelProperty(value = "createdAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@ApiModelProperty(value = "updatedAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedAt;
@ApiModelProperty(value = "deletedAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date deletedAt;
}