package com.fqc.springboot.model;

/**
 * Created by fqc on 2016/7/9.
 */
public class Customer {
    private Long id;
    private String name;

    public Customer() {
    }

    public Customer(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

}

@@ -272,120 +272,648 @@
  %7D%0A%0A
-    public Long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(Long id) %7B%0A        this.id = id;%0A    %7D%0A
+%0A    /**%0A     *  /*%0A     *  only id setter and getter%0A     *  %5B%0A     %7B%0A     %22id%22: 1%0A     %7D,%0A     %7B%0A     %22id%22: 2%0A     %7D,%0A     %7B%0A     %22id%22: 3%0A     %7D%0A     %5D*/%0A%0A   /* %5B  id,name getter and setter%0A    %7B%0A        %22id%22: 1,%0A            %22name%22: %22kobe kobe%22%0A    %7D,%0A    %7B%0A        %22id%22: 2,%0A            %22name%22: %22james james%22%0A    %7D,%0A    %7B%0A        %22id%22: 3,%0A            %22name%22: %22jordan jordan%22%0A    %7D%0A    %5D%0A     */%0A%0A%0A    public Long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(Long id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D
 %0A%7D%0A

add name getter&setter and the result json has add name