-- ----------------------------
-- Table structure for USER - 用户
-- Target   : SQLite
-- Author   : wangbing
-- Date:    : 2020-03-09
-- ----------------------------
CREATE TABLE IF NOT EXISTS SYS_USER (
    "ID" BIGINT PRIMARY KEY NOT NULL,
    "USER_NAME" VARCHAR(100) NOT NULL,
    "USER_CODE" VARCHAR(50) NOT NULL,
    "USER_ALIAS" VARCHAR(50),
    "USER_PWD" VARCHAR(50) NOT NULL,
    "USER_STATUS" VARCHAR(20) NOT NULL,
    "DEPT_ID" BIGINT,
    "DEPT_CODE" VARCHAR(50),
    "DEPT_NAME" VARCHAR(100),
    "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
);
