42 lines
907 B
Dart
42 lines
907 B
Dart
class BrandEntity {
|
|
final String id;
|
|
final String name;
|
|
final String logo;
|
|
final bool dropship;
|
|
final List<PriceGroupEntity> pricegroups;
|
|
|
|
BrandEntity({
|
|
required this.id,
|
|
required this.name,
|
|
required this.logo,
|
|
required this.dropship,
|
|
required this.pricegroups,
|
|
});
|
|
}
|
|
|
|
class PriceGroupEntity {
|
|
final String pricegroupId;
|
|
final String pricegroupName;
|
|
final String pricegroupPrefix;
|
|
final List<dynamic> locationRules;
|
|
final List<PurchaseRestrictionEntity> purchaseRestrictions;
|
|
|
|
PriceGroupEntity({
|
|
required this.pricegroupId,
|
|
required this.pricegroupName,
|
|
required this.pricegroupPrefix,
|
|
required this.locationRules,
|
|
required this.purchaseRestrictions,
|
|
});
|
|
}
|
|
|
|
class PurchaseRestrictionEntity {
|
|
final String program;
|
|
final String yourStatus;
|
|
|
|
PurchaseRestrictionEntity({
|
|
required this.program,
|
|
required this.yourStatus,
|
|
});
|
|
}
|