首页>代码>Spring Boot学习(五)之使用Swagger2构建强大的RESTful API文档 博客源码分享>/springbootstudy-demo5/src/main/java/com/xiaojingg/damain/User.java
package com.xiaojingg.damain; /** * 筱进GG */ public class User { private Long id; private String name; private Integer age; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } }