parent
1b58a45100
commit
afc4b70d97
@ -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