package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2021-04-15
|
*/
|
@TableName("app_open_info")
|
public class AppOpenInfo extends Model<AppOpenInfo> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 1=二维码
|
*/
|
private Integer type;
|
/**
|
* 1=打开,2=关闭
|
*/
|
private Integer isOpen;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getIsOpen() {
|
return isOpen;
|
}
|
|
public void setIsOpen(Integer isOpen) {
|
this.isOpen = isOpen;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "AppOpenInfo{" +
|
"id=" + id +
|
", type=" + type +
|
", isOpen=" + isOpen +
|
"}";
|
}
|
}
|