package com.xiaoniu.system.pointsgoods.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 积分商品信息表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-29 06:20:13
 */
@Getter
@Setter
@TableName("tb_points_goods")
@Schema(name = "TbPointsGoods", description = "积分商品信息表")
public class TbPointsGoods implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "商品id")
    private Long goodsId;

    @Schema(description = "销售开始日期")
    private Date salesBeginTime;

    @Schema(description = "销售结束日期")
    private Date salesEndTime;

    @Schema(description = "状态(1-已上架 2-已下架)")
    private Integer status;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "删除标志（0-正常 2-删除）")
    private Integer delFlag;

    @Schema(description = "备注")
    private String remark;
}
