Aiming at the problem that existing automatic table generation technologies cannot dynamically adjust the structure and content of tables based on real-time changes in data or user needs, a universal table model for automatic table generation is proposed. This model takes entity attribute relationships as the design core and uses a tree structure to describe the structure of tables and the relationships between cells. This tree structure is defined as a multi-dimensional relationship oriented table structure tree, emphasizing the guiding role of entity attribute relationships in the table generation process, aiming to improve the efficiency and accuracy of table automatic generation. After application testing and experimental comparison in actual projects, it has been proven that the model has good universality and practical value.