Compare commits
No commits in common. 'pojo' and 'main' have entirely different histories.
@ -1,7 +0,0 @@
|
||||
importjava.util.Scanner;
|
||||
publicclassQuestion1_3{
|
||||
publicstaticvoidmain(String[]args){
|
||||
inti;System.out.printf("%s%n","Inputaninteger:");
|
||||
Scannersc=newScanner(System.in);
|
||||
i=sc.nextInt();
|
||||
System.out.printf("Theinputis\'%d\'",i);}}
|
||||
@ -1,24 +0,0 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@TableName("tb_admin")
|
||||
public class Admin {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Integer id;
|
||||
private String name;
|
||||
private char gender;
|
||||
private String password;
|
||||
private String email;
|
||||
private String telephone;
|
||||
private String address;
|
||||
private String portraitPath; //头像的图片路径
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName("tb_clazz")
|
||||
public class Clazz {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Integer id;
|
||||
private String name;
|
||||
private Integer number;
|
||||
private String introducation;
|
||||
private String headmaster;
|
||||
private String email;
|
||||
private String telephone;
|
||||
private String gradeName;
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@TableName("tb_grade")
|
||||
public class Grade {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Integer id;
|
||||
private String name;
|
||||
private String manager;
|
||||
private String email;
|
||||
private String telephone;
|
||||
private String introducation;
|
||||
}
|
||||
@ -1,14 +0,0 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description: 用户登录表单信息
|
||||
*/
|
||||
@Data
|
||||
public class LoginForm {
|
||||
private String username;
|
||||
private String password;
|
||||
private String verifiCode;
|
||||
private Integer userType;
|
||||
}
|
||||
@ -1,27 +0,0 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName("tb_student")
|
||||
public class Student {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Integer id;
|
||||
private String sno;
|
||||
private String name;
|
||||
private char gender;
|
||||
private String password;
|
||||
private String email;
|
||||
private String telephone;
|
||||
private String address;
|
||||
private String introducation;
|
||||
private String portraitPath;
|
||||
private String clazzName;
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName("tb_teacher")
|
||||
public class Teacher {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Integer id;
|
||||
private String tno;
|
||||
private String name;
|
||||
private char gender;
|
||||
private String password;
|
||||
private String email;
|
||||
private String telephone;
|
||||
private String address;
|
||||
private String portraitPath;
|
||||
private String clazzName;
|
||||
}
|
||||
Loading…
Reference in new issue