package DB::Delicious::TagBookmark;
use base qw/DBIx::Class/;
use strict;
use warnings;

__PACKAGE__->load_components(qw/PK::Auto Core/);
__PACKAGE__->table('tag_bookmark');
__PACKAGE__->add_columns(qw/tag_id bookmark_id/);
__PACKAGE__->set_primary_key(qw/tag_id bookmark_id/);

__PACKAGE__->belongs_to(tag => 'DB::Delicious::Tag', 'tag_id');
__PACKAGE__->belongs_to(bookmark => 'DB::Delicious::Bookmark', 'bookmark_id');

1;
