• This project
    • Loading...
  • Sign in

xt / Flutter-ReserveApp · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Flutter-ReserveApp
  • lib
  • models
  • area.dart
  • 添加桌位OK
    43305ba9
    by wdn127929
    2021-05-20 17:16:45 +0800  
    Browse Files
area.dart 292 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
///桌位区域
class Area {
  String name;
  int count;
  String rid;

  Area();

  factory Area.fromJson(Map<String, dynamic> json) => Area()
    ..name = json["name"]
    ..count = json["count"];

  Map<String, dynamic> toJson() =>
      <String, dynamic>{"name": name, "count": count};
}