NAME

Business::Cart::Generic::Schema::Result::Product

ACCESSORS

id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'products_id_seq'

currency_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

manufacturer_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

parent_id

data_type: 'integer'
is_nullable: 0

product_status_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

tax_class_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

weight_class_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

date_added

data_type: 'timestamp'
is_nullable: 0

date_modified

data_type: 'timestamp'
is_nullable: 0

description

data_type: 'varchar'
is_nullable: 0
size: 255

has_children

data_type: 'varchar'
is_nullable: 0
size: 255

model

data_type: 'varchar'
is_nullable: 0
size: 255

name

data_type: 'varchar'
is_nullable: 0
size: 255

price

data_type: 'numeric'
is_nullable: 0
size: [15,4]

quantity_on_hand

data_type: 'integer'
is_nullable: 0

quantity_ordered

data_type: 'integer'
is_nullable: 0

upper_name

data_type: 'varchar'
is_nullable: 0
size: 255

weight

data_type: 'numeric'
is_nullable: 0
size: [5,2]

RELATIONS

order_items

Type: has_many

Related object: Business::Cart::Generic::Schema::Result::OrderItem

product_status

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::ProductStatuse

manufacturer

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::Manufacturer

weight_class

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::WeightClass

tax_class

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::TaxClass

currency

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::Currency

products_to_categories

Type: has_many

Related object: Business::Cart::Generic::Schema::Result::ProductsToCategory