text: const Model = require(__dirname + "/Model.js");
  
  class UserBase extends Model {
  
  	static get MODEL_INFO() {
  		return {
              "database": "database1",
              "model": "User",
              "table": "user",
              "attributes": [
                  "id",
                  "name",
                  "password",
                  "email",
                  "alias",
                  "phone",
                  "description",
                  "created_at",
                  "updated_at"
              ],
              "primaryKeys": [
                  "id"
              ],
              "foreignKeys": [],
              "description": "This is an extra, injected information for a table.",
              "stores": {
                  "id": {},
                  "name": {},
                  "password": {}
              }
          };
  	}
  
  	static get MODEL_ATTRIBUTES() {
  		return {
              "id": {
                  "order": 1,
                  "model": "User",
                  "table": "user",
                  "column": "id",
                  "type": "number",
                  "typeTerm": "int",
                  "subtype": "int",
                  "default": null,
                  "extra": "auto_increment",
                  "isPrimaryKey": true,
                  "isAutoIncrement": true,
                  "isNullable": false,
                  "isFloat": true,
                  "isUnsigned": false,
                  "isForeignKey": false,
                  "isUnique": true,
                  "referencesTo": [],
                  "referencedBy": [
                      {
                          "model": "UserAndCommunity",
                          "table": "user_and_community",
                          "column": "id_user",
                          "isPrimaryKey": false
                      }
                  ],
                  "optionsList": null,
                  "maxTextLength": null,
                  "database": "database1",
                  "archetype": "int(11)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "id",
                      "$columnType": "int(11)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "auto_increment",
                      "$ordinalColumnPosition": 1,
                      "$maximumCharactersLength": null,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 1,
                      "$boundConstraint": "PRIMARY",
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "name": {
                  "order": 2,
                  "model": "User",
                  "table": "user",
                  "column": "name",
                  "type": "text",
                  "typeTerm": "varchar",
                  "subtype": "varchar",
                  "default": null,
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": true,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": 64,
                  "database": "database1",
                  "archetype": "varchar(64)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "name",
                      "$columnType": "varchar(64)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 2,
                      "$maximumCharactersLength": 64,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": "name",
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "password": {
                  "order": 3,
                  "model": "User",
                  "table": "user",
                  "column": "password",
                  "type": "text",
                  "typeTerm": "varchar",
                  "subtype": "varchar",
                  "default": null,
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": false,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": 64,
                  "database": "database1",
                  "archetype": "varchar(64)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "password",
                      "$columnType": "varchar(64)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 3,
                      "$maximumCharactersLength": 64,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": null,
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "email": {
                  "order": 4,
                  "model": "User",
                  "table": "user",
                  "column": "email",
                  "type": "text",
                  "typeTerm": "varchar",
                  "subtype": "varchar",
                  "default": null,
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": true,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": 255,
                  "database": "database1",
                  "archetype": "varchar(255)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "email",
                      "$columnType": "varchar(255)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 4,
                      "$maximumCharactersLength": 255,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": "email",
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "alias": {
                  "order": 5,
                  "model": "User",
                  "table": "user",
                  "column": "alias",
                  "type": "text",
                  "typeTerm": "varchar",
                  "subtype": "varchar",
                  "default": null,
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": false,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": 64,
                  "database": "database1",
                  "archetype": "varchar(64)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "alias",
                      "$columnType": "varchar(64)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 5,
                      "$maximumCharactersLength": 64,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": null,
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "phone": {
                  "order": 6,
                  "model": "User",
                  "table": "user",
                  "column": "phone",
                  "type": "text",
                  "typeTerm": "varchar",
                  "subtype": "varchar",
                  "default": null,
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": false,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": 32,
                  "database": "database1",
                  "archetype": "varchar(32)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "phone",
                      "$columnType": "varchar(32)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 6,
                      "$maximumCharactersLength": 32,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": null,
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "description": {
                  "order": 7,
                  "model": "User",
                  "table": "user",
                  "column": "description",
                  "type": "text",
                  "typeTerm": "varchar",
                  "subtype": "varchar",
                  "default": null,
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": false,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": 510,
                  "database": "database1",
                  "archetype": "varchar(510)",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "description",
                      "$columnType": "varchar(510)",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": null,
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 7,
                      "$maximumCharactersLength": 510,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": null,
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "created_at": {
                  "order": 8,
                  "model": "User",
                  "table": "user",
                  "column": "created_at",
                  "type": "date",
                  "typeTerm": "timestamp",
                  "subtype": "timestamp",
                  "default": "CURRENT_TIMESTAMP",
                  "extra": false,
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": false,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": null,
                  "database": "database1",
                  "archetype": "timestamp",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "created_at",
                      "$columnType": "timestamp",
                      "$isColumnNullable": "NO",
                      "$defaultColumnValue": "CURRENT_TIMESTAMP",
                      "$extraColumnInformation": "",
                      "$ordinalColumnPosition": 8,
                      "$maximumCharactersLength": null,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": null,
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              },
              "updated_at": {
                  "order": 9,
                  "model": "User",
                  "table": "user",
                  "column": "updated_at",
                  "type": "date",
                  "typeTerm": "datetime",
                  "subtype": "datetime",
                  "default": "CURRENT_TIMESTAMP",
                  "extra": "on update CURRENT_TIMESTAMP",
                  "isPrimaryKey": false,
                  "isAutoIncrement": null,
                  "isNullable": false,
                  "isFloat": null,
                  "isUnsigned": null,
                  "isForeignKey": false,
                  "isUnique": false,
                  "referencesTo": [],
                  "referencedBy": [],
                  "optionsList": null,
                  "maxTextLength": null,
                  "database": "database1",
                  "archetype": "datetime",
                  "schema": {
                      "$database": "database1",
                      "$table": "user",
                      "$column": "updated_at",
                      "$columnType": "datetime",
                      "$isColumnNullable": "YES",
                      "$defaultColumnValue": "CURRENT_TIMESTAMP",
                      "$extraColumnInformation": "on update CURRENT_TIMESTAMP",
                      "$ordinalColumnPosition": 9,
                      "$maximumCharactersLength": null,
                      "$isUnsigned": 0,
                      "$isAutoIncrement": 0,
                      "$boundConstraint": null,
                      "$referencedTable": null,
                      "$referencedColumn": null
                  }
              }
          }
  	}
  
  }
  
  module.exports = UserBase;