fitness-web/backend/models/CustomerNewsLetterModel.php
2016-05-20 08:16:30 +02:00

32 lines
440 B
PHP

<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\web\UploadedFile;
/**
* ContactForm is the model behind the contact form.
* @property \Yii\web\UploadedFile $file
*/
class CustomerNewsLetterModel extends Model{
public $text;
public $subject;
public $allCustomer;
public function rules(){
return [
[['text','subject'],'required'],
['text','string'],
['subject','string'],
];
}
}