class Garden::DB::OrgMembership

Included Modules

Defined in:

db.cr:64
db.cr:69

Constant Summary

PREFIX = "om"

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def gen_new_id #

[View source]
def id : String | Nil #

def id! : String #

def id=(id : String | Nil) #

def level : Int32 #

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

[View source]
def organization : Organization | Nil #

[View source]
def organization! : Organization #

[View source]
def organization=(parent : Organization) #

[View source]
def organization_id : String #

def organization_id=(organization_id : String) #

def set_new_id #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def user : User | Nil #

[View source]
def user! : User #

[View source]
def user=(parent : User) #

[View source]
def user_id : String #

def user_id=(user_id : String) #