add model AttackType.
add model InheritType.
rename variables.
add model InheritTable.