SysUserInfo.ts 1.3 KB
export class SysUserInfo {
  userId: string;
  userCode: string;
  userName: string;
  comId: string;
  deptId: string;
  postId: string;
  idnum: string;
  sex: string;
  birthday: string;
  headImg: string;
  phone: string;
  email: string;
  userSource: string;
  isBusTrip: string;
  useState: string;
  constructor(
    options: {
      userId?: string;
      userCode?: string;
      userName?: string;
      comId?: string;
      deptId?: string;
      postId?: string;
      idnum?: string;
      sex?: string;
      birthday?: string;
      headImg?: string;
      phone?: string;
      email?: string;
      userSource?: string;
      isBusTrip?: string;
      useState?: string;
    } = {}
  ) {
    this.userId = options.userId || "";
    this.userCode = options.userCode || "";
    this.userName = options.userName || "";
    this.comId = options.comId || "";
    this.deptId = options.deptId || "";
    this.postId = options.postId || "";
    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.userSource = options.userSource || "";
    this.isBusTrip = options.isBusTrip || "";
    this.useState = options.useState || "";
  }
}