审查视图

application/admin/model/Type.php 434 字节
2  
杨育虎 authored
1 2 3 4 5 6
<?php

namespace app\admin\model;

use think\Model;
2  
杨育虎 authored
7
2  
杨育虎 authored
8 9
class Type extends Model
{
2  
杨育虎 authored
10 11 12 13 14

    

    
2  
杨育虎 authored
15 16 17
    // 表名
    protected $name = 'type';
    
2  
杨育虎 authored
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    // 定义时间戳字段名
    protected $createTime = false;
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];
    

    






2  
杨育虎 authored
40
}