class User
- User
- Reference
- Object
Included Modules
- DB::Mappable
- DB::Serializable
Defined in:
lib/domain/user.crConstructors
- .new(rs : DB::ResultSet)
- .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)
Class Method Summary
Instance Method Summary
- #date_joined : Time | Nil
- #date_joined=(date_joined : Time | Nil)
- #email : String
- #email=(email : String)
- #id : Int64
- #id=(id : Int64)
- #is_active : Bool
- #is_active=(is_active : Bool)
- #is_confirmed : Bool
- #is_confirmed=(is_confirmed : Bool)
- #password : String
- #password=(password : String)
- #phone : String
- #phone=(phone : String)
- #role_id : Int32
- #role_id=(role_id : Int32)
- #username : String
- #username=(username : String)
Constructor Detail
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)
#