1
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
package com.cym.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Id;
|
||||
|
||||
@Schema(description = "演示表")
|
||||
@Entity
|
||||
public class Example {
|
||||
@Id
|
||||
String id;
|
||||
|
||||
@Schema(description = "名称")
|
||||
String name;
|
||||
|
||||
@Schema(description = "描述")
|
||||
String descr;
|
||||
@Schema(description = "管理员id")
|
||||
String adminId;
|
||||
|
||||
|
||||
|
||||
public String getAdminId() {
|
||||
return adminId;
|
||||
}
|
||||
|
||||
public void setAdminId(String adminId) {
|
||||
this.adminId = adminId;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getDescr() {
|
||||
return descr;
|
||||
}
|
||||
|
||||
public void setDescr(String descr) {
|
||||
this.descr = descr;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user