This commit is contained in:
laodaming
2023-06-09 12:07:54 +08:00
parent 78e5b2cc59
commit 2a18f0c21a
19 changed files with 573 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
-- fusentest.fs_canteen_product definition
CREATE TABLE `fs_canteen_product` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`canteen_type` int(10) NOT NULL DEFAULT '0' COMMENT '餐厅类别id',
`product_id` int(10) NOT NULL COMMENT '产品id',
`size_id` int(10) NOT NULL COMMENT '尺寸id',
`sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态位 1启用0停用',
`ctime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
`sid` varchar(50) NOT NULL DEFAULT '' COMMENT '前端带入的id',
PRIMARY KEY (`id`),
KEY `canteen_type` (`canteen_type`)
) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COMMENT='餐厅类别产品对应表';

View File

@@ -1,10 +1,10 @@
-- fusentest.fs_canteen_type definition
CREATE TABLE `fs_canteen_type` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '餐厅名字',
`sort` smallint(6) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态位 1启用0停用',
`ctime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`)
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '餐厅名字',
`sort` smallint(6) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态位 1启用0停用',
`ctime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COMMENT='餐厅类型表';