class User

Included Modules

Defined in:

lib/domain/user.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(rs : DB::ResultSet) #

[View source]
def self.new(username : String, password : String = "", id : Int64 = 0.to_i64, email : String = "", phone : String = "", is_active : Bool = true, is_confirmed : Bool = false, role_id : Int32 = 0, date_joined : Time | Nil = nil) #

[View source]

Class Method Detail

def self.from_rs(rs : DB::ResultSet) #

[View source]

Instance Method Detail

def date_joined : Time | Nil #

[View source]
def date_joined=(date_joined : Time | Nil) #

[View source]
def email : String #

[View source]
def email=(email : String) #

[View source]
def id : Int64 #

[View source]
def id=(id : Int64) #

[View source]
def is_active : Bool #

[View source]
def is_active=(is_active : Bool) #

[View source]
def is_confirmed : Bool #

[View source]
def is_confirmed=(is_confirmed : Bool) #

[View source]
def password : String #

[View source]
def password=(password : String) #

[View source]
def phone : String #

[View source]
def phone=(phone : String) #

[View source]
def role_id : Int32 #

[View source]
def role_id=(role_id : Int32) #

[View source]
def username : String #

[View source]
def username=(username : String) #

[View source]