package com.blade.model;

import com.blade.ioc.annotation.Bean;
import com.blade.ioc.annotation.Value;

import java.util.List;
import java.util.Map;

/**
 * @author : ccqy66
 * Date: 2017/12/25
 */
@Bean
public class ValueBean {
    @Value(name = "list")
    private List<String> list;
    @Value(name = "app.version")
    private String appversion;
    @Value(name = "map")
    private Map<String,String> map;

    @Override
    public String toString() {
        return "ValueBean{" +
                "list=" + list +
                ", appversion='" + appversion + '\'' +
                ", map=" + map +
                '}';
    }
}

@@ -95,16 +95,36 @@
 n.Value;
+%0Aimport lombok.Data;
 %0A%0Aimport
@@ -217,16 +217,22 @@
 /%0A@Bean%0A
+@Data%0A
 public c
@@ -248,16 +248,17 @@
 eBean %7B%0A
+%0A
     @Val
@@ -306,16 +306,17 @@
 %3E list;%0A
+%0A
     @Val
@@ -371,16 +371,17 @@
 ersion;%0A
+%0A
     @Val
@@ -438,229 +438,6 @@
 p;%0A%0A
-    @Override%0A    public String toString() %7B%0A        return %22ValueBean%7B%22 +%0A                %22list=%22 + list +%0A                %22, appversion='%22 + appversion + '%5C'' +%0A                %22, map=%22 + map +%0A                '%7D';%0A    %7D%0A
 %7D%0A

fix test code