Model of accounting system for mining enterprises