<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/29 0029
 * Time: 10:13
 */

namespace App\Models;


class SecretMessageVisitLog extends BaseModel
{
    const TABLE_NAME = 'user_visit_logs';
    protected $table = self::TABLE_NAME;

    /** Field id */
    const FIELD_ID = 'id';

    /** Field user_id */
    const FIELD_ID_USER = 'user_id';

    /** Field secret_message_id 秘言ID */
    const FIELD_ID_SECRET_MESSAGE = 'secret_message_id';

    /** Field nickname */
    const FIELD_NICKNAME = 'nickname';

    /** field created_at */
    const FIELD_CREATED_AT = 'created_at';

    /** field updated_at */
    const FIELD_UPDATED_AT = 'updated_at';

    /** field deleted_at */
    const FIELD_DELETED_AT = 'deleted_at';

    protected $fillable = [
        self::FIELD_ID,
        self::FIELD_ID_USER,
        self::FIELD_ID_SECRET_MESSAGE,
        self::FIELD_NICKNAME,
        self::FIELD_CREATED_AT,
        self::FIELD_UPDATED_AT,
        self::FIELD_DELETED_AT
    ];

}