mentors

mentors Git Source Tree


Root/app/models/SentEmail.php

<?php

class SentEmail extends \Eloquent
{
	protected $table = 'sent_emails';

	protected $softDelete = true;

	protected $dates = ['deleted_at'];

	protected $fillable  = array('user_id','from_address', 'to_address', 'title', 'message');

	protected static $rules = array(
		'from_address' => 'required|email',
		'to_address'   => 'required|email',
		'title'        => 'required',
		'message'      =  'required',
	);
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.12084s using 11 queries.