package com.zbkj.common.model.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("eb_store_order_return_info")
public class StoreOrderReturnInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 退款表id
     */
    @ApiModelProperty(value = "退款表id")
    private Integer returnId;
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private Integer orderId;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品ID")
    private Integer productId;
    /**
     * 规格属性值id
     */
    @ApiModelProperty(value = "规格属性值id")
    private Integer attrValueId;
    /**
     * 商品数量
     */
    @ApiModelProperty(value = "售后数量")
    private Integer returnNum;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @Transient
    @TableField(exist = false)
    @ApiModelProperty(value = "商品图片")
    private String image;

    @Transient
    @TableField(exist = false)
    @ApiModelProperty(value = "商品名称")
    private String storeName;

}
