« Database/View/Super/vAuthoritiesPluginRoleList.pm
↑ Summary
Database/View/Super/vAuthoritiesRoleCompany.pm »
| 1 | package Daje::Database::View::Super::vAuthoritiesRole; | ||
| 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::vAuthoritiesRole - Daje db model | ||
| 9 | # | ||
| 10 | # SYNOPSIS | ||
| 11 | # ======== | ||
| 12 | # | ||
| 13 | # | ||
| 14 | # use Daje::Database::View::Super::vAuthoritiesRole; | ||
| 15 | # | ||
| 16 | # my $table = Daje::Database::View::Super::vAuthoritiesRole->new(db => $db); | ||
| 17 | # | ||
| 18 | # my $result = $table->load_authorities_role_pkey($self, $authorities_role_pkey); | ||
| 19 | # | ||
| 20 | # my $result = $table->load_authorities_companies_fkey($self, $authorities_companies_fkey); | ||
| 21 | # | ||
| 22 | # my $result = $table->load_authorities_workflow_fkey($self, $authorities_workflow_fkey); | ||
| 23 | ## | ||
| 24 | # | ||
| 25 | # | ||
| 26 | # DESCRIPTION | ||
| 27 | # =========== | ||
| 28 | # | ||
| 29 | # Daje::Database::View::Super::vAuthoritiesRole 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-03-01 05:33:53. | ||
| 50 | # It will be re-created by Daje Tools again and any changes | ||
| 51 | # will be over written. | ||
| 52 | # | ||
| 53 | # <!-- Autogenerated file 2026-03-01 05:33:53 --> | ||
| 54 | |||
| 55 | our $VERSION = '0.01'; | ||
| 56 | |||
| 57 | has 'fields' => '"authorities_role_pkey", "editnum", "insby", "insdatetime", "modby", "moddatetime","standard","description","companies_companies_fkey","authorities_workflow_fkey","name"'; | ||
| 58 | has 'primary_key_name' => "authorities_role_pkey"; | ||
| 59 | has 'table_name' => "v_authorities_role"; | ||
| 60 | |||
| 61 | |||
| 62 | async sub load_companies_companies_fkey_p($self, $companies_companies_fkey) { | ||
| 63 | return $self->load_companies_companies_fkey($companies_companies_fkey); | ||
| 64 | } | ||
| 65 | |||
| 66 | sub load_companies_companies_fkey($self, $companies_companies_fkey) { | ||
| 67 | return $self->load_fkey( | ||
| 68 | $self->table_name, $self->fields(), "companies_companies_fkey", $companies_companies_fkey | ||
| 69 | ); | ||
| 70 | } | ||
| 71 | async sub load_authorities_workflow_fkey_p($self, $authorities_workflow_fkey) { | ||
| 72 | return $self->load_authorities_workflow_fkey($authorities_workflow_fkey); | ||
| 73 | } | ||
| 74 | |||
| 75 | sub load_authorities_workflow_fkey($self, $authorities_workflow_fkey) { | ||
| 76 | return $self->load_fkey( | ||
| 77 | $self->table_name, $self->fields(), "authorities_workflow_fkey", $authorities_workflow_fkey | ||
| 78 | ); | ||
| 79 | } | ||
| 80 | async sub load_authorities_role_pkey_p($self, $authorities_role_pkey) { | ||
| 81 | return $self->load_authorities_role_pkey($authorities_role_pkey); | ||
| 82 | } | ||
| 83 | |||
| 84 | sub load_authorities_role_pkey($self, $authorities_role_pkey) { | ||
| 85 | return $self->load_pk( | ||
| 86 | $self->table_name, $self->fields(), $self->primary_key_name(), $authorities_role_pkey | ||
| 87 | ); | ||
| 88 | } | ||
| 89 | |||
| 90 | 1; | ||
| 91 |