BA EOG pilots are on the BA Seniority list, and bid into / out of EOG / Mainline as any other pilot does e.g. with 4 year freezes etc.
Just while they are at EOG they work to a different payscale, scheduling agreement allowances etc.
That's the broad brush anyway...