<?php
namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * SendEmailToClient Entity
 *
 * @property int $id
 * @property int $sender_id
 * @property int $sender_type
 * @property string $to_email
 * @property string $email_subject
 * @property string $email_content
 * @property \Cake\I18n\Time $created_at
 * @property \Cake\I18n\Time|null $updated_at
 *
 * @property \App\Model\Entity\Sender $sender
 */
class SendEmailToClient extends Entity
{
    /**
     * Fields that can be mass assigned using newEntity() or patchEntity().
     *
     * Note that when '*' is set to true, this allows all unspecified fields to
     * be mass assigned. For security purposes, it is advised to set '*' to false
     * (or remove it), and explicitly make individual fields accessible as needed.
     *
     * @var array
     */
    protected $_accessible = [
        'sender_id' => true,
        'sender_type' => true,
        'to_email' => true,
        'email_subject' => true,
        'email_content' => true,
        'created_at' => true,
        'updated_at' => true,
        'sender' => true,
    ];
}
