package com.fdkankan.platform.goods.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

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

/**
 * <p>
 * 商品规格关系表
 * </p>
 *
 * @author 
 * @since 2021-12-24
 */
@Getter
@Setter
@TableName("t_goods_spu_spec")
public class GoodsSpuSpec implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 商品表id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品规格表id
     */
    @TableField("goods_spec_id")
    private Long goodsSpecId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 0正常，1删除
     */
   @TableField("tb_status")
@TableLogic(value="0",delval = "1")
    private Integer tbStatus;


}
