feat: 实现TCP Server
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace app\repository\bean;
|
||||
|
||||
// 枚举
|
||||
enum UserRole: int
|
||||
{
|
||||
case ADMIN = 1;
|
||||
/**
|
||||
* 医生
|
||||
*/
|
||||
case DOCTOR = 2;
|
||||
/**
|
||||
* 清洗工
|
||||
*/
|
||||
case CLEANER = 3;
|
||||
/**
|
||||
* 护士
|
||||
*/
|
||||
case NURSE = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user