package com.fs.hisStore.domain;

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

/**
 * 订单详情对象 fs_store_order_item
 *
 * @author fs
 * @date 2022-03-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FsStoreOrderItemScrm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long itemId;

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

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderCode;

    /** 购物车id 减数量用 */
    @Excel(name = "购物车id 减数量用")
    private Long cartId;

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

    @Excel(name = "商品ID")
    private String jsonInfo;

    @Excel(name = "商品ID")
    private Integer num;

    /** 是否能售后0不能1能 */
    @Excel(name = "是否能售后0不能1能")
    private Integer isAfterSales;

    private Integer isPrescribe;

    /** 商品规格ID */
    @Excel(name = "商品规格ID")
    private Long productAttrValueId;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    private Integer isGift;

    private Integer isDrug;
    /** 修改后的总数量 */
    private Integer newNum;
}
