error CS1585: Member modifier 'public' must precede the member type and name

What’s wrong with this I tried so much

Assets\1\script\Unit00.cs(13,8): error CS1585: Member modifier ‘public’ must precede the member type and name

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace COM.Yasen.Player.Units
{
     [CreateAssetMenu(fileName = "New Unit", menuName ="ScriptableObject")]
     0references
     public class unit : ScriptableObject
     {
       1 references
       public enum unitType
       {
         Worker,
         Warrior,
         Healer

       };


       public bool isPlayerUnit;

       public unitType Type;

       public new string name;

       public GameObject unitPrefab;


       public int cost;

       public int attack;

       public int health;

       public int aromr;    
             
     }
}

Anytime you declare an enum, the name must start capital, then the call needs lower case:

public enum UnitType
        {
          Worker,
          Warrior,
          Healer
        } // also no need for the semi-colon
public UnitType unitType;