|
|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
|
|
|
|
|
import 'package:test_sa/models/new_models/site.dart';
|
|
|
|
|
|
|
|
|
|
class SessionModel {
|
|
|
|
|
int? id;
|
|
|
|
|
String? createdDate;
|
|
|
|
|
String? sessionName;
|
|
|
|
|
int? sessionTypeId;
|
|
|
|
|
int? sessionTypeValue;
|
|
|
|
|
@ -17,6 +17,7 @@ class SessionModel {
|
|
|
|
|
SessionModel({
|
|
|
|
|
this.id,
|
|
|
|
|
this.sessionName,
|
|
|
|
|
this.createdDate,
|
|
|
|
|
this.sessionTypeId,
|
|
|
|
|
this.sessionTypeValue,
|
|
|
|
|
this.sessionTypeName,
|
|
|
|
|
@ -38,6 +39,7 @@ class SessionModel {
|
|
|
|
|
sessionTypeValue = json['sessionTypeValue'];
|
|
|
|
|
sessionTypeName = json['sessionTypeName'];
|
|
|
|
|
statusId = json['statusId'];
|
|
|
|
|
createdDate = json['createdDate'];
|
|
|
|
|
statusName = json['statusName'];
|
|
|
|
|
startDate = json['startDate'];
|
|
|
|
|
endDate = json['endDate'];
|
|
|
|
|
@ -60,6 +62,7 @@ class SessionModel {
|
|
|
|
|
map['sessionTypeName'] = sessionTypeName;
|
|
|
|
|
map['statusId'] = statusId;
|
|
|
|
|
map['statusName'] = statusName;
|
|
|
|
|
map['createdDate'] = createdDate;
|
|
|
|
|
map['startDate'] = startDate;
|
|
|
|
|
map['endDate'] = endDate;
|
|
|
|
|
map['assetInventorySites'] = assetInventorySites.map((e) => e.toJson()).toList();
|
|
|
|
|
|