address.ts 360 B

1234567891011121314151617
  1. export class Address {
  2. public id: number;
  3. public value: any;
  4. public is_var: boolean; // TODO Remove this line
  5. /**
  6. *
  7. * @param {Number} id the address id
  8. * @param {*} value the value stored at this address
  9. */
  10. constructor (id: number, value: any, is_var = false) {
  11. this.id = id;
  12. this.value = value;
  13. this.is_var = is_var;
  14. }
  15. }