import 'package:json_annotation/json_annotation.dart';

part 'meeting_room_info.g.dart';

@JsonSerializable()
class MeetingRoomInfo extends Object{

  @JsonKey(name: 'id')
  String id;

  @JsonKey(name: 'roomName')
  String roomName;

  @JsonKey(name: 'roomNum')
  String roomNum;

  @JsonKey(name: 'onlineUserCount')
  int onlineUserCount;

  @JsonKey(name: 'year')
  int year;

  @JsonKey(name: 'subject')
  int subject;

  MeetingRoomInfo(this.id,this.roomName,this.roomNum,this.onlineUserCount,this.year,this.subject,);

  factory MeetingRoomInfo.fromJson(Map<String, dynamic> srcJson) => _$MeetingRoomInfoFromJson(srcJson);

}


