Compare commits
7 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
4788ce0da9 | 8 months ago |
|
|
afc4b70d97 | 8 months ago |
|
|
1b58a45100 | 8 months ago |
|
|
04ec79a656 | 8 months ago |
|
|
aa8e2252ef | 8 months ago |
|
|
c1be7dfac1 | 8 months ago |
|
|
bf3c24753d | 8 months ago |
@ -0,0 +1,7 @@
|
||||
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);}}
|
||||
@ -0,0 +1,24 @@
|
||||
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; //头像的图片路径
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.zsz.pojo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description: 用户登录表单信息
|
||||
*/
|
||||
@Data
|
||||
public class LoginForm {
|
||||
private String username;
|
||||
private String password;
|
||||
private String verifiCode;
|
||||
private Integer userType;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
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