class Profiles::ProfileFavorite_articles

Defined in:

Constant Summary

FIELDS_ = {"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "profile" => {type: "many_to_one", kwargs: {to: Profiles::Profile, on_delete: :cascade, related: "profile_favorite_articles"}}, "article" => {type: "many_to_one", kwargs: {to: Blogging::Article, on_delete: :cascade, related: "profile_favorite_articles"}}} of Nil => Nil

Instance Method Summary

Instance Method Detail

def article : Blogging::Article | Nil #

def article! : Blogging::Article #

def article=(related_object : Blogging::Article | Nil) #

def article? #

def article_id : Marten::DB::Field::ReferenceDBTypes | Nil #

def article_id! #

def article_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil) #

def article_id? #

def id : Int32 | Int64 | Nil | Nil #

def id! #

def id=(id : Int32 | Int64 | Nil | Nil) #

def id? #

def profile : Profiles::Profile | Nil #

def profile! : Profiles::Profile #

def profile=(related_object : Profiles::Profile | Nil) #

def profile? #

def profile_id : Marten::DB::Field::ReferenceDBTypes | Nil #

def profile_id! #

def profile_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil) #

def profile_id? #