Anons studied the manual of military justice procedures. Yes the accused gets a lawyer. They also get an automatic appeal if their sentence is a very serious one.
Depends on terms & conditions of the policy! Will not be uniform from company to company or state to state.