提交swagger 对象接口补充

This commit is contained in:
wh
2026-04-15 15:28:11 +08:00
parent 73a13fd16d
commit f6ba09521a
41 changed files with 674 additions and 139 deletions

View File

@@ -11,16 +11,16 @@ import lombok.Data;
@AllArgsConstructor
@Schema(description = "当前登录用户信息")
public class UserInfoResponse {
@Schema(description = "用户主键")
@Schema(description = "用户主键", example = "1")
private Long id;
@Schema(description = "用户名")
@Schema(description = "用户名", example = "admin")
private String username;
@Schema(description = "真实姓名")
@Schema(description = "真实姓名", example = "张三")
private String realName;
@Schema(description = "角色", example = "ADMIN")
private String role;
@Schema(description = "所属公司 ID")
@Schema(description = "所属公司 ID", example = "1")
private Long companyId;
@Schema(description = "所属公司名称")
@Schema(description = "所属公司名称", example = "示例科技有限公司")
private String companyName;
}