| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * 渠道.
- *
- * @author jim <jim458734573@gmail.com>
- * @date 2020-01-10 21:07:11
- */
- declare(strict_types=1);
- namespace App\Model;
- class ChannelModel extends BaseModel
- {
- /**
- * 表名.
- *
- * @var string
- */
- protected $table = 'channel';
- /**
- * 每个字段格式化数据类型.
- *
- * @var array
- */
- protected $casts = [
- 'id' => 'integer',
- 'created_at' => 'string',
- 'updated_at' => 'string',
- ];
- }
|