"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserSchema = exports.User = void 0;
const UserSchema_1 = require("../../schemas/user/UserSchema");
Object.defineProperty(exports, "UserSchema", { enumerable: true, get: function () { return UserSchema_1.UserSchema; } });
class User {
    constructor(values) {
        return Object.assign(this, values);
    }
    isValid() {
        return UserSchema_1.UserSchema.isValid(this);
    }
    validate() {
        return UserSchema_1.UserSchema.validate(this);
    }
}
exports.User = User;
