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

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

    @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(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