First of all, the ship is regarded as a means of transportation in the traditional culture of China, which can take people to further places, so it is often used as a symbol of departure and travel. In some places, people believe that boats can take away people's thoughts and wishes, so some people may put a boat model or boat decoration on the roof to express their ideas.
Secondly, ships also have the meaning of abundance and affluence in China culture. Because boats can bring wealth and opportunities, some people may put boat-shaped decorations on the roof, hoping it can symbolize the arrival of wealth and future prosperity.
Thirdly, in some places, people believe that boats on houses can avoid evil spirits and disasters and bring good luck and peace to their families. So some people may place boat ornaments on the roof to pin this psychological expectation.
Generally speaking, there is nothing particularly rigid about building a house in the countryside with a boat on it. It may be related to local customs and beliefs, or it may just be a psychological sustenance. If necessary, you can consult the elderly or consult local customs.