first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use think\model\concern\SoftDelete;
|
||||
|
||||
/**
|
||||
* 企业微信外部联系人模型
|
||||
*/
|
||||
class QywxExternalContact extends BaseModel
|
||||
{
|
||||
use SoftDelete;
|
||||
|
||||
protected $name = 'qywx_external_contact';
|
||||
protected $deleteTime = 'delete_time';
|
||||
|
||||
/**
|
||||
* 未删除行在库中为 delete_time = NULL(建表与同步 upsert 均如此)。
|
||||
* 若设为 0,Think 会生成 delete_time = 0,与数据不一致导致列表永远为空。
|
||||
*/
|
||||
protected $defaultSoftDelete = null;
|
||||
}
|
||||
Reference in New Issue
Block a user