The structure and mechanical and tribological properties of TiBCN nanocomposite coatings