You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
680 B
34 lines
680 B
package com.example.demo.bean;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
public class Manager {
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private long managerNum;
|
|
private String managerName;
|
|
private String managerPwd;
|
|
private String managerRight;
|
|
private String telephoneNum;
|
|
|
|
|
|
public Manager(){};
|
|
|
|
public long getManagerNum() {
|
|
return managerNum;
|
|
}
|
|
|
|
public void setManagerNum(int managerNum) {
|
|
this.managerNum = managerNum;
|
|
}
|
|
}
|