
#!/usr/bin/perl
use strict;
use warnings;
# This class is generated from DBIx.pm. Do not modify.
package WWW::Shopify::Model::DBIx::Schema::Result::Model::Cart::LineItem;
use base qw/DBIx::Class::Core/;


__PACKAGE__->table('shopify_carts_line_items');
__PACKAGE__->add_columns(
	"cart_id", { data_type => 'INT' },
	"line_price", { data_type => 'DECIMAL', is_nullable => '1' },
	"sku", { data_type => 'VARCHAR(255)', is_nullable => '1' },
	"grams", { data_type => 'INT', is_nullable => '1' },
	"quantity", { data_type => 'INT', is_nullable => '1' },
	"id", { data_type => 'INT', is_nullable => '0' },
	"price", { data_type => 'DECIMAL', is_nullable => '1' },
	"title", { data_type => 'VARCHAR(255)', is_nullable => '1' },
	"vendor", { data_type => 'VARCHAR(255)', is_nullable => '1' },
	"variant_id", { data_type => 'INT', is_nullable => '1' }
);
__PACKAGE__->set_primary_key('id');





__PACKAGE__->belongs_to(variant => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Product::Variant', 'variant_id');
sub represents { return 'WWW::Shopify::Model::Cart::LineItem'; }
sub parent_variable { return 'cart_id'; }

1;