A general notion of coherent systems