package com.bcxin.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

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

@Data
@TableName("t_config")
public class Config extends Model<Config> {

    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER)
    private Long oid;

    private Date createOn;

    private String sysKey;

    private String sysValue;

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

}