

import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
import { plainToClassFromExist } from "class-transformer";
import { IsString } from "class-validator";

//#region src/modules/vc/models/credential/W3cV2TermsOfUse.ts
/**
* Represents a terms of use.
*
* @see https://www.w3.org/TR/vc-data-model-2.0/#terms-of-use
*/
var W3cV2TermsOfUse = class {
	constructor(options) {
		if (options) {
			const { type,...rest } = options;
			plainToClassFromExist(this, rest);
			this.type = type;
		}
	}
};
__decorate([IsString(), __decorateMetadata("design:type", String)], W3cV2TermsOfUse.prototype, "type", void 0);

//#endregion
export { W3cV2TermsOfUse };
//# sourceMappingURL=W3cV2TermsOfUse.mjs.map