class CurrentTimeGenerator implements DefaultValueGenerator<RDBColumnMetadata> {
    @Override
    public String getSortId() {
        return Generators.CURRENT_TIME;
    }

    @Override
    public DefaultValue generate(RDBColumnMetadata metadata) {
        return (RuntimeDefaultValue) () -> generic(metadata.getJavaType());
    }

    protected Object generic(Class type) {<FILL_FUNCTION_BODY>}

    @Override
    public String getName() {
        return "当前系统时间";
    }
}

        if (type == Date.class) {
            return new Date();
        }
        if (type == java.sql.Date.class) {
            return new java.sql.Date(System.currentTimeMillis());
        }
        if (type == LocalDateTime.class) {
            return LocalDateTime.now();
        }
        return System.currentTimeMillis();
    
<no_super_class>