<?php

namespace app\model;

use think\facade\Db;
use think\Model;

class UserIdAssignModel extends Model
{
    // 设置表名
    protected $name = 'user_assign_uid';

    // 设置主键
    protected $pk = 'user_id';

    // 设置自动时间戳
    protected $autoWriteTimestamp = true;

    // 设置字段类型
    protected $type = [
        'user_id' => 'int',
        'status' => 'int',
    ];
}