mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 13:34:07 +08:00
Complete interface definition
This commit is contained in:
@ -4,6 +4,7 @@ import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
import ai.chat2db.server.tools.base.constant.EasyToolsConstant;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@ -26,16 +27,19 @@ public class Team implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@NotNull
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 团队编码
|
||||
*/
|
||||
@NotNull
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 团队名称
|
||||
*/
|
||||
@NotNull
|
||||
private String name;
|
||||
|
||||
/**
|
||||
@ -43,6 +47,12 @@ public class Team implements Serializable {
|
||||
*
|
||||
* @see ai.chat2db.server.domain.api.enums.ValidStatusEnum
|
||||
*/
|
||||
@NotNull
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 团队描述
|
||||
*/
|
||||
private String description;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user