255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'mall_id' => 'Mall ID', 'token' => '加密字符串', 'ecard_id' => '电子卡密id', 'value' => '卡密字段值', 'is_delete' => '是否删除', 'is_sales' => '是否出售', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'deleted_at' => 'Deleted At', 'is_occupy' => '是否被占用 0--否 1--是', ]; } public function getData() { return $this->hasMany(EcardData::className(), ['token' => 'token']); } }