package com.liquidnet.service.goblin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 精选商品

 * </p>
 *
 * @author liquidnet
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GoblinFrontSelectGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "mid", type = IdType.AUTO)
    private Long mid;

    /**
     * 商品id
     */
    private String selectGoodsId;

    /**
     * spu的 ids拼接
     */
    private String spuId;

    /**
     * 0未删除1已删除
     */
    private Integer delTag;

    /*顺序
     */
    private Integer indexs;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 1、上架时间2、销量3、价格高到低4、价格低到高
     */
    private  int orderType;



}
