31 lines
2.8 KiB
SQL
31 lines
2.8 KiB
SQL
-- ----------------------------
|
|
-- Table structure for blade_fee_item
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS `blade_fee_item`;
|
|
CREATE TABLE `blade_fee_item` (
|
|
`id` bigint NOT NULL COMMENT '主键',
|
|
`fee_category` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '费用类型',
|
|
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '费用项',
|
|
`english_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '费用项代码',
|
|
`create_user` bigint NULL DEFAULT NULL COMMENT '创建人',
|
|
`create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
|
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
|
`update_user` bigint NULL DEFAULT NULL COMMENT '修改人',
|
|
`update_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
|
|
`status` int NULL DEFAULT 1 COMMENT '状态',
|
|
`is_deleted` int NULL DEFAULT 0 COMMENT '是否已删除',
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
UNIQUE INDEX `uk_fee_item_name`(`name`) USING BTREE,
|
|
INDEX `idx_fee_item_category`(`fee_category`) USING BTREE,
|
|
INDEX `idx_fee_item_status`(`status`) USING BTREE
|
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '费用项';
|
|
|
|
-- ----------------------------
|
|
-- Records of blade_menu for fee item
|
|
-- ----------------------------
|
|
INSERT INTO `blade_menu` (`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `component`, `remark`, `is_deleted`) VALUES (2075449200000000001, 1164733399668962201, 'fee_item', '费用项', 'fee_item', '/base/fee-item', 'iconfont icon-shoucang', 60, 1, 0, 1, NULL, '', 0);
|
|
INSERT INTO `blade_menu` (`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `component`, `remark`, `is_deleted`) VALUES (2075449200000000002, 2075449200000000001, 'fee_item_delete', '批量删除', 'fee_item_delete', '', '', 1, 2, 0, 1, NULL, '', 0);
|
|
INSERT INTO `blade_menu` (`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `component`, `remark`, `is_deleted`) VALUES (2075449200000000003, 2075449200000000001, 'fee_item_edit', '编辑', 'fee_item_edit', '', '', 1, 2, 0, 1, NULL, '', 0);
|
|
INSERT INTO `blade_menu` (`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `component`, `remark`, `is_deleted`) VALUES (2075449200000000004, 2075449200000000001, 'fee_item_status', '修改状态', 'fee_item_status', '', '', 1, 2, 0, 1, NULL, '', 0);
|
|
INSERT INTO `blade_menu` (`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `component`, `remark`, `is_deleted`) VALUES (2075449200000000005, 2075449200000000001, 'fee_item_add', '新增', 'fee_item_add', '', '', 1, 2, 0, 1, NULL, '', 0);
|