You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
917 B

<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%step_remind}}".
*
* @property integer $id
* @property integer $store_id
* @property string $date
* @property integer $user_id
*/
class StepRemind extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%step_remind}}';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['store_id', 'user_id'], 'integer'],
[['date', 'user_id'], 'required'],
[['date'], 'safe'],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'store_id' => 'Store ID',
'date' => 'Date',
'user_id' => 'User ID',
];
}
}