class TechnicalInspectionAssetBasicInfoModel {
  int? id;
  String? assetNumber;
  String? assetType;
  String? assetOrigin;
  String? assetName;
  String? model;
  String? manufacturer;
  String? site;
  String? building;
  String? floor;
  String? department;
  String? room;

  TechnicalInspectionAssetBasicInfoModel({
    this.id,
    this.assetNumber,
    this.assetType,
    this.assetOrigin,
    this.assetName,
    this.model,
    this.manufacturer,
    this.site,
    this.building,
    this.floor,
    this.department,
    this.room,
  });

  TechnicalInspectionAssetBasicInfoModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    assetNumber = json['assetNumber'];
    assetType = json['assetType'];
    assetOrigin = json['assetOrigin'];
    assetName = json['assetName'];
    model = json['model'];
    manufacturer = json['manufacturer'];
    site = json['site'];
    building = json['building'];
    floor = json['floor'];
    department = json['department'];
    room = json['room'];
  }

  Map<String, dynamic> toJson() {
    return {
      'id': id,
      'assetNumber': assetNumber,
      'assetType': assetType,
      'assetOrigin': assetOrigin,
      'assetName': assetName,
      'model': model,
      'manufacturer': manufacturer,
      'site': site,
      'building': building,
      'floor': floor,
      'department': department,
      'room': room,
    };
  }
}
