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.

46 lines
1.1 KiB

import 'dart:io';
class SubmitModel {
int id;
String emergencyContact;
String emergencyContactNumber;
String correspondenceAddress;
String workUnits;
String payBank;
String bankAccountName;
String bankAccount;
List<String> idCardFrontImgUrl;
List<String> idCardBackImgUrl;
File? idCardFrontFile;
File? idCardBackFile;
SubmitModel({
required this.id,
required this.emergencyContact,
required this.emergencyContactNumber,
required this.correspondenceAddress,
required this.workUnits,
required this.payBank,
required this.bankAccountName,
required this.bankAccount,
required this.idCardFrontImgUrl,
required this.idCardBackImgUrl,
required this.idCardFrontFile,
required this.idCardBackFile,
});
factory SubmitModel.init() => SubmitModel(
id: 0,
emergencyContact: '',
emergencyContactNumber: '',
correspondenceAddress: '',
workUnits: '',
payBank: '',
bankAccountName: '',
bankAccount: '',
idCardFrontImgUrl: [],
idCardBackImgUrl: [],
idCardBackFile: null,
idCardFrontFile: null);
}