package cn.pluss.platform.entity;

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

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

/**
 * <p>
 * 商户会员功能基本设置表
 * </p>
 *
 * @author Djh
 * @since 2022-07-12
 */
@Getter
@Setter
@TableName("tb_pluss_merc_member_set")
public class MercMemberSet implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 开启状态。0：关闭；1：开启
     */
    private String status;

    public static final String STATUS_OFF = "0";

    public static final String STATUS_ON = "1";

    /**
     * 会员卡作用范围。1：线下扫码；2：外卖和扫码点单；3：全部
     */
    private String scope;

    public static final String SCOPE_OFFLINE = "1";

    public static final String SCOPE_ONLINE = "2";

    public static final String SCOPE_ALL = "3";

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

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
