feat: 实现TCP Server

This commit is contained in:
zimoyin
2026-03-02 21:59:43 +08:00
parent 043306819b
commit a79dfae57d
144 changed files with 15785 additions and 140 deletions
+50
View File
@@ -0,0 +1,50 @@
<?php
namespace app\model;
use support\Model;
/**
* EctUser 模型
* 表说明:人员表
* 对应数据表:ect_user
* @property string $user_id user_id(非空,主键)
* @property string $user_name user_name 人员名称
* @property string $user_account user_account 账号
* @property string $user_password user_password 密码
* @property string $user_rfid user_rfid 人员卡RFID编码
* @property string $login_time login_time 登录时间
* @property string $created_at created_at 创建时间
* @property int $role_id role_id 1 管理员 2 医生 3清洗工
* @property string $work_number work_number 工作编码
* @property string $supervisor supervisor 上级领导
* @property string $work_group work_group 工作组
* @property string $department_id department_id 所属科室ID
* @property string $rfid3 rfid3
*/
class EctUser extends Model
{
/**
* 数据表名
* @var string
*/
protected $table = 'ect_user';
/**
* 主键字段名
* @var string
*/
protected $primaryKey = 'user_id';
/**
* 关闭自动时间戳
* @var bool
*/
public $timestamps = false;
/**
* 允许批量赋值所有字段
* @var array
*/
protected $guarded = [];
}