/// Description: 菜谱
/// Time       : 07/25/2022 Monday
/// Author     : liuyuqi.gov@msn.cn
class DishModel {
  String name;
  String cost; //价格
  String time; //供应时间
  //String category;  //菜品分类:当日菜品(固定),特色菜品,当日新菜
  //String campus;    //校区
  String canteen; //食堂
  bool star = false, like = false;
  //DateTime? star_time=null;

  DishModel(this.name, this.cost, this.time, this.canteen,
      {bool like = false, bool star = false, DateTime? star_time}) {
    this.like = like;
    this.star = star;
    //if(star_time!=null)this.star_time=star_time;
  }
}

class DishsModel {
  List<DishModel> dishs = [];

  DishsModel();

  DishsModel.fromJson(Map<String, dynamic> json) {}
}