255], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'store_id' => 'Store ID', 'name' => '活动标题', 'currency' => '奖金池', 'bail_currency' => '保证金', 'step_num' => '挑战布数', 'open_date' => '开放日期', 'is_delete' => '是否删除', 'type' => '0进行中 1 已完成', 'create_time' => '创建时间', 'status' => '状态', ]; } public function getLog() { return $this->hasMany(StepLog::className(), ['type_id' => 'id']); } }