get('dbXcrm'); } /** * @inheritdoc */ public function rules() { return [ [['login', 'amount', 'comment'], 'required'], [['login', 'is_sync'], 'integer'], [['amount'], 'number'], [['comment', 'memo'], 'string', 'max' => 255], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'login' => 'Login', 'amount' => 'Amount', 'comment' => 'Comment', 'is_sync' => 'Is Sync', 'memo' => 'Memo', ]; } }