

const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.js');
const require_decorateMetadata = require('../../../../_virtual/_@oxc-project_runtime@0.95.0/helpers/decorateMetadata.js');
const require_decorate = require('../../../../_virtual/_@oxc-project_runtime@0.95.0/helpers/decorate.js');
const require_validators = require('../../../../utils/validators.js');
require('../../../../utils/index.js');
let class_transformer = require("class-transformer");
class_transformer = require_rolldown_runtime.__toESM(class_transformer);
let class_validator = require("class-validator");
class_validator = require_rolldown_runtime.__toESM(class_validator);

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

//#endregion
exports.W3cV2Evidence = W3cV2Evidence;