func (pt *PropertyTypes) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanpt := &PropertyType{}
		if err := scanpt.FromRows(rows); err != nil {
			return err
		}
		*pt = append(*pt, scanpt)
	}
	return nil
}
// FromRows scans the sql response data into PropertyTypes.
FromRows scans the sql response data into PropertyTypes.
// FromRows scans the sql response data into PropertyTypes .
func (pt *PropertyTypes) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanpt := &PropertyType{}
		if err := scanpt.FromRows(rows); err != nil {
			return err
		}
		*pt = append(*pt, scanpt)
	}
	return nil
}
func ( pt * PropertyTypes ) FromRows ( rows * sql . Rows ) error { for rows . Next ( ) { scanpt := & PropertyType { } if err := scanpt . FromRows ( rows ) ; err != nil { return err } * pt = append ( * pt , scanpt ) } return nil }
FromRows scans the sql response data into PropertyTypes.
FromRows scans the sql response data into PropertyTypes .