refactor: 重命名 backend-single 目录为 server
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
package com.emotion.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.emotion.common.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
/**
|
||||
* 接口端点实体,继承 BaseEntity 字段
|
||||
*
|
||||
* @author Peanut
|
||||
* @date 2026-05-23
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@SuperBuilder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@TableName("api_endpoint")
|
||||
public class ApiEndpoint extends BaseEntity {
|
||||
|
||||
@TableField("path")
|
||||
private String path;
|
||||
|
||||
@TableField("method")
|
||||
private String method;
|
||||
|
||||
@TableField("operation_id")
|
||||
private String operationId;
|
||||
|
||||
@TableField("summary")
|
||||
private String summary;
|
||||
|
||||
@TableField("description")
|
||||
private String description;
|
||||
|
||||
@TableField("tags")
|
||||
private String tags;
|
||||
|
||||
@TableField("deprecated")
|
||||
private Integer deprecated;
|
||||
|
||||
@TableField("request_schema")
|
||||
private String requestSchema;
|
||||
|
||||
@TableField("response_schema")
|
||||
private String responseSchema;
|
||||
}
|
||||
Reference in New Issue
Block a user