package com.fs.live.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单商品对象 live_goods_order_items
 *
 * @author fs
 * @date 2025-01-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LiveGoodsOrderItems extends BaseEntity {

    /** ID */

    private Long id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 商品JSON */
    @Excel(name = "商品JSON")
    private String goodsJson;

    /** 商品名 */
    @Excel(name = "商品名")
    private String goodsName;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 状态 1正常 2已退款 */
    @Excel(name = "状态 1正常 2已退款")
    private Integer status;
}
