21 lines
597 B
Dart
21 lines
597 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'equity_product_bean.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class EquityProductBean {
|
|
String? ProductId;
|
|
String? ProductName;
|
|
int? ProductNum;
|
|
int? ContinuedDay;
|
|
double? Price;
|
|
double? OriginalPrice;
|
|
String? ImageUrl;
|
|
|
|
EquityProductBean(this.ProductId, this.ProductName, this.ProductNum, this.ContinuedDay, this.Price, this.OriginalPrice, this.ImageUrl);
|
|
|
|
factory EquityProductBean.fromJson(Map<String, dynamic> json) => _$EquityProductBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$EquityProductBeanToJson(this);
|
|
}
|