package com.unis.crk.cplbusiness.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ghh
 * @since 2023-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "LI_ORDER_ITEM")
@ApiModel(value="LiOrderItem对象", description="")
public class LiOrderItem implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "创建者")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "删除标志 true/false 删除/未删除")
    @TableField("DELETE_FLAG")
    private BigDecimal deleteFlag;

    @ApiModelProperty(value = "更新者")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "售后状态")
    @TableField("AFTER_SALE_STATUS")
    private String afterSaleStatus;

    @ApiModelProperty(value = "分类ID")
    @TableField("CATEGORY_ID")
    private String categoryId;

    @ApiModelProperty(value = "评论状态")
    @TableField("COMMENT_STATUS")
    private String commentStatus;

    @ApiModelProperty(value = "交易投诉ID")
    @TableField("COMPLAIN_ID")
    private String complainId;

    @ApiModelProperty(value = "投诉状态")
    @TableField("COMPLAIN_STATUS")
    private String complainStatus;

    @ApiModelProperty(value = "实际金额")
    @TableField("FLOW_PRICE")
    private BigDecimal flowPrice;

    @ApiModelProperty(value = "销售金额")
    @TableField("GOODS_PRICE")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "商品ID")
    @TableField("GOODS_ID")
    private String goodsId;

    @ApiModelProperty(value = "图片")
    @TableField("IMAGE")
    private String image;

    @ApiModelProperty(value = "商品名称")
    @TableField("GOODS_NAME")
    private String goodsName;

    @ApiModelProperty(value = "销售量")
    @TableField("NUM")
    private Integer num;

    @ApiModelProperty(value = "订单编号")
    @TableField("ORDER_SN")
    private String orderSn;

    @ApiModelProperty(value = "价格详情")
    @TableField("PRICE_DETAIL")
    private String priceDetail;

    @ApiModelProperty(value = "促销ID")
    @TableField("PROMOTION_ID")
    private String promotionId;

    @ApiModelProperty(value = "促销类型")
    @TableField("PROMOTION_TYPE")
    private String promotionType;

    @ApiModelProperty(value = "货品ID")
    @TableField("SKU_ID")
    private String skuId;

    @ApiModelProperty(value = "子订单编号")
    @TableField("SN")
    private String sn;

    @ApiModelProperty(value = "快照ID")
    @TableField("SNAPSHOT_ID")
    private String snapshotId;

    @ApiModelProperty(value = "规格json")
    @TableField("SPECS")
    private String specs;

    @ApiModelProperty(value = "交易编号")
    @TableField("TRADE_SN")
    private String tradeSn;

    @ApiModelProperty(value = "浮动价格比例")
    @TableField("PRICE_FLUCTUATION_RATIO")
    private BigDecimal priceFluctuationRatio;

    @ApiModelProperty(value = "单价")
    @TableField("UNIT_PRICE")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "小记")
    @TableField("SUB_TOTAL")
    private BigDecimal subTotal;

    @ApiModelProperty(value = "已退货数量 ")
    @TableField("RETURN_GOODS_NUMBER")
    private Integer returnGoodsNumber;

    @ApiModelProperty(value = "正在进行售后的商品数量 ")
    @TableField("IS_GOODS_NUMBER")
    private Integer isGoodsNumber;


}
