1、 Database>Pre & Post Script > Model-level
%ForEachTable() { alter TABLE %TableName COMMENT = '%EntityName' ENGINE=InnoDB DEFAULT CHARSET=utf8; %ForEachColumn() { ALTER TABLE %TableName MODIFY COLUMN `%ColName` %AttDatatype %AttNullOption COMMENT '%AttName'; } }