/*
 Navicat Premium Dump SQL

 Source Server         : 亿速云（国内）
 Source Server Type    : MySQL
 Source Server Version : 80018 (8.0.18)
 Source Host           : yisurds-66dc0b453c05d4.rds.ysydb1.com:14080
 Source Schema         : LMS_TEST

 Target Server Type    : MySQL
 Target Server Version : 80018 (8.0.18)
 File Encoding         : 65001

 Date: 27/12/2024 21:36:10
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for SoftwareControl
-- ----------------------------
DROP TABLE IF EXISTS `SoftwareControl`;
CREATE TABLE `SoftwareControl`  (
  `Id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'ID',
  `UserId` bigint(20) NOT NULL COMMENT '用户ID',
  `SoftwareId` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '软件ID',
  `CreatedUserId` bigint(20) NULL DEFAULT NULL COMMENT '创建用户ID',
  `CreatedTime` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `UpdatedUserId` bigint(20) NULL DEFAULT NULL COMMENT '更新用户ID',
  `UpdatedTime` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `Remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
  `ExpirationTime` datetime NULL DEFAULT NULL COMMENT '到期时间',
  `IsForever` tinyint(1) NULL DEFAULT NULL COMMENT '是否永久',
  PRIMARY KEY (`Id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
