import { YesNoEnum } from 'nsn-enum';
import { NEntity } from '../core';

/** 系统-会员 */
export interface Member extends NEntity {

  /** 会员姓名 */
  name: string;

  /** 所属部门 */
  deptId: string;

  /** 员工编号 */
  empCode: string;

  /** 员工状态(字典类别dict_emp_status) */
  empStatus: string;

  /** 职务(字典类别dict_duties) */
  duties: string;

  /** 拼音编码 */
  pinyin: string;

  /** 五笔编码 */
  wubi: string;

  /** 身份证号码 */
  identityNo: string;

  /** 性别(字典类别dict_gender) */
  gender: string;

  /** 出生日期 yyyy-MM-dd */
  birthday: Date;

  /** 籍贯(字典类别dict_native_place) */
  nativePlace: string;

  /** 婚姻状况(字典类别dict_marriage) */
  marriage: string;

  /** 政治面貌(字典类别dict_policital) */
  policital: string;

  /** 学位(字典类别dict_degree) */
  degree: string;

  /** 学历(字典类别dict_schooling) */
  schooling: string;

  /** 毕业学校(字典类别dict_education) */
  education: string;

  /** 毕业时间 yyyy-MM-dd */
  graduateDate: Date;

  /** 头像 */
  avatar: string;

  /** 邮箱地址 */
  email: string;

  /** 手机号码 */
  mobile: string;

  /** 办公电话 */
  telephone: string;

  /** 入职日期 yyyy-MM-dd */
  entryDate: Date;

  /** 离职日期 yyyy-MM-dd */
  leaveDate: Date;

  /** 返聘日期 yyyy-MM-dd */
  rehireDate: Date;

  /** 国家(字典类别dict_country) */
  country: string;

  /** 地址 */
  address: string;

  /** 座右铭 */
  signature: string;

  /** 状态 */
  status: StatusEnum;

  /** dto: 同步创建账号 */
  createAccount: YesNoEnum;

  /** dto：所属部门名称 */
  deptName: string;
}