255], [['change_type'], 'string', 'max' => 12], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'mall_id' => 'Mall ID', 'user_id' => 'User ID', 'point_type' => 'Point Type', 'from_type' => 'From Type', 'point_num' => 'Point Num', 'order_sn' => 'Order Sn', 'change_type' => 'Change Type', 'change_num' => 'Change Num', 'after_num' => 'After Num', 'source_table' => 'Source Table', 'source_table_id' => 'Source Table ID', 'status' => 'Status', 'desc' => 'Desc', 'created_at' => 'Created At', 'updated_at' => 'Updated At', ]; } /** * 关联用户信息 * @DateTime: 2023/2/28 0018 9:56 * @Copyright: copyright (c) 2021 广东七件事集团 * @return \yii\db\ActiveQuery */ public function getUser() { return $this->hasOne(User::class, ['id' => 'user_id']); } }