package org.greenrobot.greendao.daotest;

import org.greenrobot.greendao.annotation.*;

// THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS

// KEEP INCLUDES - put your custom includes here
// KEEP INCLUDES END

/**
 * Entity mapped to table "SQLITE_MASTER".
 */
@Entity(createInDb = false)
public class SqliteMaster {
    private String type;
    private String name;

    @Property(nameInDb = "tbl_name")
    private String tableName;
    private Long rootpage;
    private String sql;

    // KEEP FIELDS - put your custom fields here
    // KEEP FIELDS END

    @Generated
    public SqliteMaster() {
    }

    @Generated
    public SqliteMaster(String type, String name, String tableName, Long rootpage, String sql) {
        this.type = type;
        this.name = name;
        this.tableName = tableName;
        this.rootpage = rootpage;
        this.sql = sql;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Long getRootpage() {
        return rootpage;
    }

    public void setRootpage(Long rootpage) {
        this.rootpage = rootpage;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    // KEEP METHODS - put your custom methods here
    @Override
    public String toString() {
        return "Type: " + type + ", name: " + name + ", table: " + tableName + ", SQL: " + sql;
    }
    // KEEP METHODS END

}
