| Current Path : /var/www/html/brspace/frontend/models/ |
| Current File : /var/www/html/brspace/frontend/models/SendEmail.php |
<?php
namespace frontend\models;
use Yii;
class SendEmail extends \yii\db\ActiveRecord {
public static function tableName() {
return 'send_email';
}
public function rules() {
return [
[['data_id', 'from_address', 'to_address',], 'required'],
[['created_at', 'created_by',], 'safe'],
];
}
public function attributeLabels() {
return [
'data_id' => 'List',
'from_address' => 'From',
'to_address' => 'To',
'created_at' => 'Send Date & Time',
'created_by' => 'Create By',
];
}
}