{"size": 634, "ext": "js", "max_stars_repo_path": "module/class/Property.js", "max_stars_repo_name": "ecm-cc/propertymapping", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "module/class/Property.js", "max_issues_repo_name": "ecm-cc/propertymapping", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "module/class/Property.js", "max_forks_repo_name": "ecm-cc/propertymapping", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 48.7692307692, "max_line_length": 84, "alphanum_fraction": 0.7287066246}
class Property {
    constructor(generalDatabaseElement, stageDatabaseElement) {
        this.propertyID = generalDatabaseElement.PropertyID.S;
        this.displayname = generalDatabaseElement.Displayname.S;
        this.databasePosition = parseInt(generalDatabaseElement.DatabasePosition.N);
        this.categoryKey = generalDatabaseElement.CategoryKey.S;
        this.mandatory = stageDatabaseElement.Mandatory.N === '1' ? true : false;
        this.modifiable = stageDatabaseElement.Modifiable.N === '1' ? true : false;
        this.propertyKey = parseInt(stageDatabaseElement.PropertyKey.N);
    }
};

module.exports = Property;