• 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
  • dart3.0 大升级
    b6eb5736
    by wdn127929
    2025-02-11 12:14:07 +0800  
    Browse Files
area.dart 369 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

///桌位区域
class Area {
  String? name;
  int? count;
  String? rid;
  String? orderId;

  Area();

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

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