package com.kxs.product.api.model;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商城订单详情表(KxsShopOrderInfo)表实体类
 *
 * @author 系统
 * @since 2023-12-20 10:09:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsShopOrderInfo extends Model<KxsShopOrderInfo> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    
    
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;


    /**
     * 商品ID
     */
    @Schema(description = "商品ID")
    private Integer goodsId;


    /**
     * 商品数量
     */
    @Schema(description = "商品数量")
    private Integer number;


    /**
     * 商品单价
     */
    @Schema(description = "商品单价")
    private BigDecimal goodsPrice;


    /**
     * 封面图
     */
    @Schema(description = "封面图")
    private String picUrl;


    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String goodsName;


    /**
     * 订单ID
     */
    @Schema(description = "订单ID")
    private Integer orderId;


    /**
     * 商品skuId
     */
    @Schema(description = "商品skuId")
    private Integer skuId;


    /**
     * 商品货品的规格列表
     */
    @Schema(description = "商品货品的规格列表")
    private String specifications;




}

