Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
songdir_service
master
Top Level Namespace
APIException
Application
ArrayField
Authentication
AuthorizationPipe
BooleanField
DatetimeField
EmailField
EnumField
ErrorMessages
ExceptionHandler
FloatField
HashField
IntegerField
JsonData
JWTData
LoginTimeout
MessageList
Role
SerializableNumber
Serializer
SerializerField
SerializerFields
SigninController
SigninRequest
SigninSerializer
SigninUseCase
SignupController
SignupRequest
SignupSerializer
SignupUseCase
StringField
UnAuthorized
User
UserRepository
ValidationError
Built with Crystal 1.9.2
2023-10-08 13:52:03 UTC
class
Role
Role
Reference
Object
Included Modules
DB::Mappable
DB::Serializable
Defined in:
lib/domain/role.cr
Constructors
.new
(rs : DB::ResultSet)
.new
(name : String, id : Int32 =
0
)
Class Method Summary
.from_rs
(rs : DB::ResultSet)
Instance Method Summary
#id
: Int32
#id=
(id : Int32)
#name
: String
#name=
(name : String)
Constructor Detail
def self.
new
(rs : DB::ResultSet)
#
[
View source
]
def self.
new
(name : String, id : Int32 =
0
)
#
[
View source
]
Class Method Detail
def self.
from_rs
(rs : DB::ResultSet)
#
[
View source
]
Instance Method Detail
def
id
: Int32
#
[
View source
]
def
id=
(id : Int32)
#
[
View source
]
def
name
: String
#
[
View source
]
def
name=
(name : String)
#
[
View source
]