数据表:ims_yz_work_wechat_employee(企业微信--通讯录成员表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer unsigned | - | 非空、自增 | |
uniacid | integer | 0 | - | |
crop_id | integer | 0 | 非空 | yz_work_wechat_crop表id |
uid | integer | 0 | 非空 | |
userid | string(100) | - | 非空 | 企业微信userid |
avatar_mediaid | string(255) | - | 非空 | 头像地址 |
name | string(200) | - | 非空 | 用户名称 |
alias | string(100) | - | 非空 | 用户昵称 |
gender | integer | 1 | 非空 | 性别。1表示男性,2表示女性 |
mobile | string(30) | - | 非空 | 手机号 |
email | string(50) | - | 非空 | |
department | string(500) | - | 非空 | 用户所属部门,使用逗号隔开,字符串格式存储 |
position | string(200) | - | 非空 | 职务信息 |
is_leader_in_dept | string(500) | - | 非空 | 1表示为上级,0表示普通成员(非上级) |
telephone | string(50) | - | 非空 | 座机 |
address | string(500) | 地址 | 非空 | |
status | integer | 0 | 非空 | 激活状态: -1=已删除,1=已激活,2=已禁用,4=未激活,5=退出企业 |
extattr | text(65535) | - | 非空 | 自定义字段 |
external_profile | text(65535) | - | 非空 | 成员对外属性 |
external_position | string(50) | - | 非空 | 对外职务 |
main_department | string(100) | - | 非空 | 主部门 |
active_time | integer | 0 | 非空 | 激活时间 |
is_allocate | integer | 0 | 非空 | 离职是否分配(1:已分配;0:未分配;) |
dimission_time | integer | 0 | 非空 | 离职时间 |
created_at | integer | 0 | 非空 | |
updated_at | integer | - | - | |
deleted_at | integer | - | - |
