You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
553 B
24 lines
553 B
10 months ago
|
import 'package:huixiang/generated/json/base/json_field.dart';
|
||
|
import 'package:huixiang/generated/json/platter.g.dart';
|
||
|
import 'dart:convert';
|
||
|
export 'package:huixiang/generated/json/platter.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class Platter {
|
||
|
bool? deleted = false;
|
||
|
int? id = 0;
|
||
|
int? productId = 0;
|
||
|
bool? required = false;
|
||
|
int? skuId = 0;
|
||
|
|
||
|
Platter();
|
||
|
|
||
|
factory Platter.fromJson(Map<String, dynamic> json) => $PlatterFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => $PlatterToJson(this);
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return jsonEncode(this);
|
||
|
}
|
||
|
}
|