a6f2284f51
# Conflicts: # app/common/controller/AuthController.php # app/common/logic/AuthLogic.php # app/common/model/User.php # app/controller/IndexController.php # app/functions.php # app/middleware/AuthCheck.php # app/view/index/qrcode.html # composer.json # composer.lock # config/middleware.php # config/route.php # config/whitelist.php
70 lines
1.4 KiB
PHP
70 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace app\common\model;
|
|
|
|
use support\Model;
|
|
|
|
/**
|
|
* user_feishu_app 用户-飞书应用
|
|
* @property integer $id ID(主键)
|
|
* @property integer $uid 用户ID
|
|
* @property integer $corp_id 公司ID
|
|
* @property string $name 名称
|
|
* @property string $mobile 手机
|
|
* @property string $union_id ISV的唯一标识
|
|
* @property string $user_id 用户 user_id
|
|
* @property string $open_id 应用内的唯一标识
|
|
* @property string $tenant_key 当前企业标识
|
|
* @property integer $sort 排序
|
|
* @property integer $status 状态
|
|
* @property integer $created_at 创建时间
|
|
* @property integer $updated_at 更新时间
|
|
*/
|
|
class UserFeishuApp_bak extends Model
|
|
{
|
|
/**
|
|
* The connection name for the model.
|
|
*
|
|
* @var string|null
|
|
*/
|
|
protected $connection = 'mysql';
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'user_feishu_app';
|
|
|
|
/**
|
|
* The primary key associated with the table.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = 'id';
|
|
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = true;
|
|
|
|
|
|
protected $dateFormat = 'U';
|
|
|
|
|
|
protected $fillable = [
|
|
'uid',
|
|
'corp_id',
|
|
'name',
|
|
'mobile',
|
|
'union_id',
|
|
'user_id',
|
|
'open_id',
|
|
'tenant_key',
|
|
'sort',
|
|
'status'
|
|
];
|
|
}
|