parent
aadde37ed5
commit
ad293833fd
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.example.web;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Archer
|
||||||
|
*/
|
||||||
|
@Schema(description = "用户实体")
|
||||||
|
@Data
|
||||||
|
public class User {
|
||||||
|
@Schema(description = "用户ID")
|
||||||
|
private Long id;
|
||||||
|
@Schema(description = "用户姓名")
|
||||||
|
private String name;
|
||||||
|
@Schema(description = "用户年龄")
|
||||||
|
private Integer age;
|
||||||
|
}
|
Loading…
Reference in new issue