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