Files
MBTI_wang/api/app/model/SoulArticle.php

31 lines
747 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace app\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
* Soul 采集文章MBTI 主题 · 为一场 soul 创业实验引流)
*/
class SoulArticle extends Model
{
use SoftDelete;
protected $name = 'soul_articles';
protected $deleteTime = 'deletedAt';
protected $autoWriteTimestamp = 'int';
protected $createTime = 'createdAt';
protected $updateTime = 'updatedAt';
protected $type = [
'createdAt' => 'integer',
'updatedAt' => 'integer',
'deletedAt' => 'integer',
'publishedAt' => 'integer',
'isRecommended' => 'integer',
'recommendedOrder' => 'integer',
'viewCount' => 'integer',
];
}