Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git] / Koha / Schema / Result / OauthAccessToken.pm
1 use utf8;
2 package Koha::Schema::Result::OauthAccessToken;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::OauthAccessToken
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<oauth_access_tokens>
19
20 =cut
21
22 __PACKAGE__->table("oauth_access_tokens");
23
24 =head1 ACCESSORS
25
26 =head2 access_token
27
28   data_type: 'varchar'
29   is_nullable: 0
30   size: 191
31
32 =head2 client_id
33
34   data_type: 'varchar'
35   is_nullable: 0
36   size: 191
37
38 =head2 expires
39
40   data_type: 'integer'
41   is_nullable: 0
42
43 =cut
44
45 __PACKAGE__->add_columns(
46   "access_token",
47   { data_type => "varchar", is_nullable => 0, size => 191 },
48   "client_id",
49   { data_type => "varchar", is_nullable => 0, size => 191 },
50   "expires",
51   { data_type => "integer", is_nullable => 0 },
52 );
53
54 =head1 PRIMARY KEY
55
56 =over 4
57
58 =item * L</access_token>
59
60 =back
61
62 =cut
63
64 __PACKAGE__->set_primary_key("access_token");
65
66
67 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-09 12:50:58
68 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M6tueO6jmJwgmwMrqO1L0Q
69
70 sub koha_object_class {
71     'Koha::OAuthAccessToken';
72 }
73 sub koha_objects_class {
74     'Koha::OAuthAccessTokens';
75 }
76
77 1;