Files
qhmes/jeecg-boot/db/mes-xsl-manufacturer.sql

19 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 仅建表 mes_xsl_manufacturer完整初始化厂家类别/是否有效字典菜单租户授权请执行 mes-xsl-manufacturer-menu-permission.sql
SET NAMES utf8mb4;
CREATE TABLE IF NOT EXISTS `mes_xsl_manufacturer` (
`id` varchar(32) NOT NULL COMMENT '主键',
`manufacturer_category` varchar(32) NOT NULL COMMENT '厂家类别字典xslmes_manufacturer_categorymold模具 capsule胶囊 equipment设备',
`manufacturer_name` varchar(128) NOT NULL COMMENT '厂家名称同租户未删除数据中唯一',
`valid_status` varchar(1) NOT NULL DEFAULT '0' COMMENT '是否有效字典xslmes_manufacturer_valid0有效1无效',
`tenant_id` int DEFAULT NULL COMMENT '租户',
`sys_org_code` varchar(64) DEFAULT NULL COMMENT '部门',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(32) DEFAULT NULL COMMENT '更新人',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`del_flag` int DEFAULT '0' COMMENT '删除标记0正常1删除',
PRIMARY KEY (`id`),
KEY `idx_mxm_tenant_name` (`tenant_id`, `manufacturer_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='MES厂家信息';