package com.yh.saas.plugin.yiliangyiyun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录启用信息
 * </p>
 *
 * @author Gdc
 * @since 2021-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("enabled_info")
public class EnabledInfo extends BaseModel<EnabledInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    private String id;
    /**
     * 职员ID
     */
    private String staffId;
    /**
     * 公司ID
     */
    private String compId;
    /**
     * 功能类型(1仓单)
     */
    private String functionType;
    /**
     * 是否启用的 0:否 1:是
     */
    private String enabled;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
