export class PersonalInfo {
  userId: string;
  userName: string;
  idnum: string;
  sex: string;
  birthday: string;
  headImg: string;
  phone: string;
  email: string;
  deptName: string;
  postName: string;
  userCode: string;
  constructor(
    options: {
      userId?: string;
      userName?: string;
      idnum?: string;
      sex?: string;
      birthday?: string;
      headImg?: string;
      phone?: string;
      email?: string;
      deptName?: string;
      postName?: string;
      userCode?: string;
    } = {}
  ) {
    this.userId = options.userId || "";
    this.userCode = options.userCode || "";
    this.userName = options.userName || "";
    this.idnum = options.idnum || "";
    this.sex = options.sex || "";
    this.birthday = options.birthday || "";
    this.headImg = options.headImg || "";
    this.phone = options.phone || "";
    this.email = options.email || "";
    this.deptName = options.deptName || "";
    this.postName = options.postName || "";
    this.userCode = options.userCode || "";
  }
}
