There is a range of Industry maintenance management software in the marketplace.
Why would you want to scarify yourself by developing something from scratch ?
I'll leave this thread here for a while for local input but I think it will do far better in the engineering forum.
For interest, we use the proprietary
CAMP package and, while not suggesting that it is the way for you to go, we get good value from it. Certainly imposes an overhead in the maintenance admin side of things but has very useful reporting cabilities.
A simple net search will bring up a range of competing products.
Definitely not worth the dramas of trying to reinvent the wheel ..