CREATE TABLE `t_label_print_setting` (
    `id` bigint(20) NOT NULL COMMENT '主键',
    `type` tinyint(1) DEFAULT NULL COMMENT '类型:1:内标签;2:内外标签;3:供应商接口调用',
    `purchase_order_code` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '采购订单号',
    `material_code` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '物料编号',
    `option_json` text COLLATE utf8mb4_bin COMMENT '配置json',
    `supplier_id` bigint(20) DEFAULT NULL COMMENT '供应商主键',
    `delete_flag` tinyint(1) DEFAULT '0' COMMENT '是否删除',
    `create_id` bigint(20) DEFAULT NULL,
    `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `update_id` bigint(20) DEFAULT NULL,
    `update_time` datetime DEFAULT NULL,
    `status` tinyint(1) DEFAULT '0' COMMENT '推送状态:1:成功;0:失败;',
    `printer_type` tinyint(1) DEFAULT NULL COMMENT '打印机类型 1:默认网页;2:200dpi;3:300dpi',
    `print_size` int(4) DEFAULT '0' COMMENT '打印次数',
    PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='标签打印配置项'