class Auth::User

Defined in:

apps/auth/models/user.cr

Constant Summary

FIELDS_ = {"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "email" => {type: "email", kwargs: {unique: true}}, "password" => {type: "string", kwargs: {max_size: 128}}, "created_at" => {type: "date_time", kwargs: {auto_now_add: true}}, "updated_at" => {type: "date_time", kwargs: {auto_now: true}}} of Nil => Nil

Instance Method Summary

Instance Method Detail

def created_at : Time | Nil | Nil #

def created_at! #

def created_at=(created_at : Time | Nil | Nil) #

def created_at? #

def email : String | Nil | Nil #

def email! #

def email=(email : String | Nil | Nil) #

def email? #

def id : Int32 | Int64 | Nil | Nil #

def id! #

def id=(id : Int32 | Int64 | Nil | Nil) #

def id? #

def password : String | Nil | Nil #

def password! #

def password=(password : String | Nil | Nil) #

def password? #

def profile #

def profile! #

def updated_at : Time | Nil | Nil #

def updated_at! #

def updated_at=(updated_at : Time | Nil | Nil) #

def updated_at? #