<?php
namespace app\common\model;

use think\Model;

class WorkerLog extends Model
{
	// 设置字段信息
    protected $schema = [
        'id'			=> 'int',
		'workerid'		=> 'int',
		'userid'		=> 'int',
		'ltotal'		=> 'int',
        'createtime'	=> 'int'
    ];
	
	// 设置字段自动转换类型
	protected $type = [
        'createtime'  => 'timestamp:Y-m-d'
    ];
	

}