argos/dmp-frontend/src/app/entities/model/attribute.ts

18 lines
371 B
TypeScript

import { Injectable } from '@angular/core';
import {Rule} from '../common/rule';
import { Source } from './source';
@Injectable()
export class Attribute {
id: string;
datatype:string;
ordinal:number;
defaultValue: any;
multiplicityMin: number;
multiplicityMax: number;
validationType: any;
validation : Rule[];
sources: Source[];
}