TimestampBehavior::class ] ]; } /** * {@inheritdoc} */ public function rules() { return [ [['id', 'store_id'], 'integer'], [['amount', 'total_integral', 'integral_price', 'total_user_integral', 'created_at', 'updated_at'], 'number'] ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => '', 'store_id' => '商城ID', 'amount' => '积分底池金额', 'total_integral' => '当前一共铸造积分数量', 'total_user_integral' => '当前给用户发放积分数量', 'integral_price' => '当前积分价格', 'created_at' => '', 'updated_at' => '', ]; } }