23 lines
527 B
TypeScript
23 lines
527 B
TypeScript
enum Job {
|
|
doctor = 'doctor', // 医生
|
|
pharmacist = 'pharmacist' // 药师
|
|
}
|
|
|
|
interface HlwDoctor {
|
|
_id: ObjectId;
|
|
corpId: string;
|
|
mobile: string;
|
|
doctorName: string;
|
|
sex: string;
|
|
doctorNo: string;
|
|
deptName: string;
|
|
title: string;
|
|
onlineStatus: 'online' | 'offline';
|
|
deptCode: string;
|
|
job: Job;
|
|
offlineTime?: number; // 上次下线时间
|
|
testDoctor: boolean; // 是否为测试医生
|
|
openWestPres: boolean; // 是否开启西药处方
|
|
openChinesePres: boolean; // 是否开启中药处方
|
|
}
|