<?php
namespace app\common\model;

use think\Model;

class Cert extends Model
{
	// 设置字段信息
    protected $schema = [
        'id'			=> 'int',
		'title'			=> 'string',
		'cnumber'		=> 'string',
		'tilpic'		=> 'string',
		'remark'		=> 'string',
        'createtime'	=> 'int'
    ];
	
	// 设置字段自动转换类型
	protected $type = [
        'createtime'  => 'timestamp:Y-m-d H:i:s'
    ];
	
}