first real commit in standalone repo

This commit is contained in:
2025-01-09 23:47:18 -08:00
parent 0e8844f47e
commit 9e6ce06a24
30 changed files with 1741 additions and 1 deletions

View File

@@ -0,0 +1,42 @@
<?php
declare(strict_types=1);
namespace CakeContactUs\Model\Entity;
use Cake\ORM\Entity;
/**
* ContactUsFormSubmission Entity
*
* @property string $id
* @property \Cake\I18n\DateTime $submitted_at
* @property string $client_ip
* @property string $name
* @property string|null $email
* @property string|null $subject
* @property string $message
* @property \Cake\I18n\DateTime|null $confirm_email_sent
* @property \Cake\I18n\DateTime|null $backend_email_sent
*/
class ContactUsFormSubmission 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<string, bool>
*/
protected array $_accessible = [
'submitted_at' => true,
'client_ip' => true,
'name' => true,
'email' => true,
'subject' => true,
'message' => true,
'confirm_email_sent' => true,
'backend_email_sent' => true,
];
}