<?php

class ShouhinTableModel extends DefaultTableModel
{
	var $___table_name      = 'shouhin';

	var $manufacturer       = '@relation @target:manufacturer @linkage:inner @extract:field';

	var $manufacturer_name  = '@extract @source:manufacturer/name';

	var $id                 = '@field @type:bigint @pk @insert:no @update:no @insert:no @serial';
	var $manufacturer_id    = '@field @type:bigint @fk:manufacturer @insert:value @update:value @insert:value ';
	var $item_code          = '@field @type:varchar(255) @insert:value @update:value @insert:value ';
	var $item_name          = '@field @type:varchar(255) @insert:value @update:value @insert:value';
	var $price              = '@field @type:int @insert:value @update:value @insert:value @default:0';

}

return __FILE__;
