« Database/View/Super/vAuthoritiesRoleList.pm
↑ Summary
Database/View/Super/vAuthoritiesRoleUserList.pm »
| 1 | package Daje::Database::View::Super::vAuthoritiesRoleUser; | ||
| 2 | use Mojo::Base 'Daje::Database::Model::Super::Common::Base', -base, -signatures, -async_await; | ||
| 3 | use v5.42; | ||
| 4 | |||
| 5 | # NAME | ||
| 6 | # ==== | ||
| 7 | # | ||
| 8 | # Daje::Database::View::Super::vAuthoritiesRoleUser - Daje db model | ||
| 9 | # | ||
| 10 | # SYNOPSIS | ||
| 11 | # ======== | ||
| 12 | # | ||
| 13 | # | ||
| 14 | # use Daje::Database::View::Super::vAuthoritiesRoleUser; | ||
| 15 | # | ||
| 16 | # my $table = Daje::Database::View::Super::vAuthoritiesRoleUser->new(db => $db); | ||
| 17 | # | ||
| 18 | # my $result = $table->load_authorities_role_user_pkey($self, $authorities_role_user_pkey); | ||
| 19 | # | ||
| 20 | # my $result = $table->load_authorities_role_fkey($self, $authorities_role_fkey); | ||
| 21 | # | ||
| 22 | # my $result = $table->load_authorities_users_fkey($self, $authorities_users_fkey); | ||
| 23 | ## | ||
| 24 | # | ||
| 25 | # | ||
| 26 | # DESCRIPTION | ||
| 27 | # =========== | ||
| 28 | # | ||
| 29 | # Daje::Database::View::Super::vAuthoritiesRoleUser is a View super class | ||
| 30 | # | ||
| 31 | # METHODS | ||
| 32 | # ======= | ||
| 33 | # | ||
| 34 | # | ||
| 35 | # LICENSE | ||
| 36 | # ======= | ||
| 37 | # | ||
| 38 | # Copyright (C) janeskil1525. | ||
| 39 | # | ||
| 40 | # This library is free software; you can redistribute it and/or modify | ||
| 41 | # it under the same terms as Perl itself. | ||
| 42 | # | ||
| 43 | # AUTHOR | ||
| 44 | # ====== | ||
| 45 | # | ||
| 46 | # janeskil1525 E<lt>janeskil1525@gmail.com | ||
| 47 | # | ||
| 48 | |||
| 49 | # This file is generated automatically by Daje Tools 2026-02-10 05:06:16. | ||
| 50 | # It will be re-created by Daje Tools again and any changes | ||
| 51 | # will be over written. | ||
| 52 | # | ||
| 53 | # <!-- Autogenerated file 2026-02-10 05:06:16 --> | ||
| 54 | |||
| 55 | our $VERSION = '0.01'; | ||
| 56 | |||
| 57 | has 'fields' => '"authorities_role_user_pkey", "editnum", "insby", "insdatetime", "modby", "moddatetime","authorities_role_fkey","users_users_fkey"'; | ||
| 58 | has 'primary_key_name' => "authorities_role_user_pkey"; | ||
| 59 | has 'table_name' => "v_authorities_role_user"; | ||
| 60 | |||
| 61 | |||
| 62 | async sub load_authorities_role_fkey_p($self, $authorities_role_fkey) { | ||
| 63 | return $self->load_authorities_role_fkey($authorities_role_fkey); | ||
| 64 | } | ||
| 65 | |||
| 66 | sub load_authorities_role_fkey($self, $authorities_role_fkey) { | ||
| 67 | return $self->load_fkey( | ||
| 68 | $self->table_name, $self->fields(), "authorities_role_fkey", $authorities_role_fkey | ||
| 69 | ); | ||
| 70 | } | ||
| 71 | async sub load_users_users_fkey_p($self, $users_users_fkey) { | ||
| 72 | return $self->load_users_users_fkey($users_users_fkey); | ||
| 73 | } | ||
| 74 | |||
| 75 | sub load_users_users_fkey($self, $users_users_fkey) { | ||
| 76 | return $self->load_fkey( | ||
| 77 | $self->table_name, $self->fields(), "users_users_fkey", $users_users_fkey | ||
| 78 | ); | ||
| 79 | } | ||
| 80 | async sub load_authorities_role_user_pkey_p($self, $authorities_role_user_pkey) { | ||
| 81 | return $self->load_authorities_role_user_pkey($authorities_role_user_pkey); | ||
| 82 | } | ||
| 83 | |||
| 84 | sub load_authorities_role_user_pkey($self, $authorities_role_user_pkey) { | ||
| 85 | return $self->load_pk( | ||
| 86 | $self->table_name, $self->fields(), $self->primary_key_name(), $authorities_role_user_pkey | ||
| 87 | ); | ||
| 88 | } | ||
| 89 | |||
| 90 | 1; | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | #################### pod generated by Pod::Autopod - keep this line to make pod updates possible #################### | ||
| 95 | |||
| 96 | =head1 NAME | ||
| 97 | |||
| 98 | |||
| 99 | Daje::Database::View::Super::vAuthoritiesRoleUser - Daje db model | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SYNOPSIS | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | use Daje::Database::View::Super::vAuthoritiesRoleUser; | ||
| 108 | |||
| 109 | my $table = Daje::Database::View::Super::vAuthoritiesRoleUser->new(db => $db); | ||
| 110 | |||
| 111 | my $result = $table->load_authorities_role_user_pkey($self, $authorities_role_user_pkey); | ||
| 112 | |||
| 113 | my $result = $table->load_authorities_role_fkey($self, $authorities_role_fkey); | ||
| 114 | |||
| 115 | my $result = $table->load_authorities_users_fkey($self, $authorities_users_fkey); | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | =head1 DESCRIPTION | ||
| 122 | |||
| 123 | |||
| 124 | Daje::Database::View::Super::vAuthoritiesRoleUser is a View super class | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head1 REQUIRES | ||
| 129 | |||
| 130 | L<v5.42> | ||
| 131 | |||
| 132 | L<Mojo::Base> | ||
| 133 | |||
| 134 | |||
| 135 | =head1 METHODS | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head1 AUTHOR | ||
| 142 | |||
| 143 | |||
| 144 | janeskil1525 E<lt>janeskil1525@gmail.com | ||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | =head1 LICENSE | ||
| 149 | |||
| 150 | |||
| 151 | Copyright (C) janeskil1525. | ||
| 152 | |||
| 153 | This library is free software; you can redistribute it and/or modify | ||
| 154 | it under the same terms as Perl itself. | ||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | =cut | ||
| 159 |