class

Auth::User

Inherits MartenAuth::User < MartenAuth::BaseUser < Marten::DB::Model < Marten::Template::Object::Auto < Marten::Template::Object < Marten::Template::CanDefineTemplateAttributes < Marten::DB::Model::Callbacks < Marten::Core::Validation::Callbacks < Marten::Core::Validation < Marten::DB::Model::Validation < Marten::DB::Model::Querying < Marten::DB::Model::Persistence < Marten::DB::Model::Comparison < Marten::DB::Model::Table < Marten::DB::Model::Connection < Marten::Apps::Association < Marten::DB::Model::AppConfig < Marten::DB::Model::Inheritance < Reference < Object

Constants

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 methods

created_at
created_at!
created_at=(created_at : Time | Nil | Nil)
created_at?
email
email!
email=(email : String | Nil | Nil)
email?
id
id!
id=(id : Int32 | Int64 | Nil | Nil)
id?
password
password!
password=(password : String | Nil | Nil)
password?
profile
profile!
updated_at
updated_at!
updated_at=(updated_at : Time | Nil | Nil)
updated_at?

Nested types