generate entities for LabelType