

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 { IsUri } from "../../../../utils/validators.mjs";
import "../../../../utils/index.mjs";
import { plainToClassFromExist } from "class-transformer";
import { IsOptional, IsString } from "class-validator";

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

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