import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-lend-page',
  templateUrl: './lend-page.component.html',
  styleUrls: ['./lend-page.component.scss']
})
export class LendPageComponent implements OnInit {

  item: itemDetail[] = [
    {

      catagory: 'string',
      type: 'string',
      detail: 'Moniter',
      name: 'a',
      sdate: '2021-11-25',
      edate: '2021-11-25',
      stime: '12.00',
      etime: '12.00',
      status: 'waiting',
      quantity : '1',
      remark: '',
    },
    {

      catagory: 'string',
      type: 'string',
      detail: 'Mouse',
      name: 'b',
      sdate: '2021-11-25',
      edate: '2021-11-25',
      stime: '12.00',
      etime: '12.00',
      status: 'waiting',
      quantity : '1',
      remark: '',
    }
  ];
  collectionSize = this.item.length;

  constructor() { }

  ngOnInit(): void {
  }

}
