# PropertyMetadata Class

import { PropertyMetadata } from "@tsed/common"

# Overview

class PropertyMetadata extends Storable implements IPropertyOptions {
    allowedRequiredValues: any[];
    ignoreProperty: boolean;
    onSerialize: Function;
    onDeserialize: Function;
    constructor(target: any, propertyKey: any);
    type: Type<any>;
    readonly schema: JsonSchema;
    required: boolean;

# Members

allowedRequiredValues: any[]

Allowed value when the entity is required.

ignoreProperty: boolean

onSerialize: Function

onDeserialize: Function

type: Type<any>

readonly schema: JsonSchema

required: boolean

Change the state of the required data.