// Code generated by ent, DO NOT EDIT. package authorizables const ( // Label holds the string label denoting the authorizables type in the database. Label = "authorizables" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldServerid holds the string denoting the serverid field in the database. FieldServerid = "serverid" // FieldUserid holds the string denoting the userid field in the database. FieldUserid = "userid" // Table holds the table name of the authorizables in the database. Table = "authorizables" ) // Columns holds all SQL columns for authorizables fields. var Columns = []string{ FieldID, FieldUsername, FieldPassword, FieldServerid, FieldUserid, } // ValidColumn reports if the column name is valid (part of the table columns). func ValidColumn(column string) bool { for i := range Columns { if column == Columns[i] { return true } } return false }