2025-12-26 14:04:42 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace app\common\model;
|
|
|
|
|
|
|
|
|
|
use support\Model;
|
|
|
|
|
|
|
|
|
|
class EmailPullParsed extends Model
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The connection name for the model.
|
|
|
|
|
*
|
|
|
|
|
* @var string|null
|
|
|
|
|
*/
|
|
|
|
|
protected $connection = 'mysql';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The table associated with the model.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $table = 'email_pull_parsed';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The primary key associated with the table.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $primaryKey = 'id';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Indicates if the model should be timestamped.
|
|
|
|
|
*
|
|
|
|
|
* @var bool
|
|
|
|
|
*/
|
2026-01-04 16:13:21 +08:00
|
|
|
public $timestamps = true;
|
2025-12-26 14:04:42 +08:00
|
|
|
|
|
|
|
|
|
2026-01-04 16:13:21 +08:00
|
|
|
// protected $dateFormat = 'U';
|
2025-12-26 14:04:42 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 允许自动填充模型字段
|
|
|
|
|
*/
|
|
|
|
|
protected $fillable = ['id', 'email_id', 'date', 'email', 'name', 'tel', 'company', 'country', 'form_url', 'message', 'ip', 'iplocation', 'ilang', 'mailto', 'navigator_language', 'navigator_platform', 'screen_width', 'screen_height', 'ucountry', 'status', 'created_at', 'updated_at'];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 不允许自动填充模型字段
|
|
|
|
|
*/
|
|
|
|
|
protected $guarded = [];
|
|
|
|
|
}
|