class Profiles::ProfileFavorite_articles
- Profiles::ProfileFavorite_articles
- Marten::DB::Model
- Reference
- Object
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
- #article : Blogging::Article | Nil
- #article! : Blogging::Article
- #article=(related_object : Blogging::Article | Nil)
- #article?
- #article_id : Marten::DB::Field::ReferenceDBTypes | Nil
- #article_id!
- #article_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil)
- #article_id?
- #id : Int32 | Int64 | Nil | Nil
- #id!
- #id=(id : Int32 | Int64 | Nil | Nil)
- #id?
- #profile : Profiles::Profile | Nil
- #profile! : Profiles::Profile
- #profile=(related_object : Profiles::Profile | Nil)
- #profile?
- #profile_id : Marten::DB::Field::ReferenceDBTypes | Nil
- #profile_id!
- #profile_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil)
- #profile_id?