summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/formControlModels/numberFormControl.model.ts
blob: 5de38e2f7ac3c8d826ba5e7d3da977426915fc6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {FormControlModel} from "./formControl.model";
import {FormControlType} from "./formControlTypes.enum";

export class NumberFormControl extends FormControlModel{
  min: number;
  max: number;


  constructor(data) {
    super(data);
    this.type = FormControlType.NUMBER;
    this.min = data.min;
    this.max = data.max;
  }

}