-- ----------------------------
-- Table structure for RES - 资源
-- Target   : SQLite
-- Author   : wangbing
-- Date:    : 2020-03-09
-- ----------------------------
CREATE TABLE IF NOT EXISTS SYS_RES (
    "ID" BIGINT PRIMARY KEY NOT NULL,
    "RES_CODE" VARCHAR(50) NOT NULL,
    "RES_NAME" VARCHAR(50) NOT NULL,
    "RES_TYPE" VARCHAR(20) NOT NULL,
    "RES_VALUE" VARCHAR(250),
    "SUP_CODE" VARCHAR(50),
    "SUP_NAME" VARCHAR(50),
    "VALID" BOOLEAN NOT NULL,
    "ROW_VERSION" BIGINT NOT NULL,
    "IS_DELETED" BOOLEAN NOT NULL,
    "CREATE_BY" BIGINT NOT NULL,
    "CREATE_TIME" DATETIME NOT NULL,
    "LAST_UPDATE_BY" BIGINT,
    "LAST_UPDATE_TIME" DATETIME
);
