package test05.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    @NonNull
    // Integer N_TEACHER_ID=-1;
    Integer id = -1;
    @NonNull
    // String VC_TEACHER_NAME="";
    String name = "";
    @NonNull
    // Integer N_SEX=-1;
    Integer sex = -1;
    @NonNull
    // String VC_BIRTH="";
    String birth = "";
    @NonNull
    // Integer N_EDUC=-1;
    Integer educ = -1;
    @NonNull
    // Integer N_TITLE=-1;
    Integer title = -1;
    public Teacher(int id){
        this.id = id;
    }
}
