100], [['price'], 'string', 'max' => 50], [['remark'], 'string', 'max' => 200], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Name', 'price' => 'Price', 'remark' => 'Remark', 'total' => 'Total', 'created_at' => 'Created At', 'updated_at' => 'Updated At', ]; } }