You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
587 B

/*
* 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;
}