class BranchModel {
  String? mBranchID;
  String? mBranchCode;
  String? mBranchCodeLab;
  String? mBranchName;
  String? mBranchAddress;
  String? mBranchIsActive;
  String? mBranchCreated;
  String? mBranchCreatedUserID;
  String? mBranchLastUpdated;
  String? mBranchLastUpdatedUserID;
  String? mBranchDeleted;
  String? mBranchDeletedUserID;

  BranchModel(
      {this.mBranchID,
      this.mBranchCode,
      this.mBranchCodeLab,
      this.mBranchName,
      this.mBranchAddress,
      this.mBranchIsActive,
      this.mBranchCreated,
      this.mBranchCreatedUserID,
      this.mBranchLastUpdated,
      this.mBranchLastUpdatedUserID,
      this.mBranchDeleted,
      this.mBranchDeletedUserID});

  BranchModel.fromJson(Map<String, dynamic> json) {
    mBranchID = json['M_BranchID'];
    mBranchCode = json['M_BranchCode'];
    mBranchCodeLab = json['M_BranchCodeLab'];
    mBranchName = json['M_BranchName'];
    mBranchAddress = json['M_BranchAddress'];
    mBranchIsActive = json['M_BranchIsActive'];
    mBranchCreated = json['M_BranchCreated'];
    mBranchCreatedUserID = json['M_BranchCreatedUserID'];
    mBranchLastUpdated = json['M_BranchLastUpdated'];
    mBranchLastUpdatedUserID = json['M_BranchLastUpdatedUserID'];
    mBranchDeleted = json['M_BranchDeleted'];
    mBranchDeletedUserID = json['M_BranchDeletedUserID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['M_BranchID'] = this.mBranchID;
    data['M_BranchCode'] = this.mBranchCode;
    data['M_BranchCodeLab'] = this.mBranchCodeLab;
    data['M_BranchName'] = this.mBranchName;
    data['M_BranchAddress'] = this.mBranchAddress;
    data['M_BranchIsActive'] = this.mBranchIsActive;
    data['M_BranchCreated'] = this.mBranchCreated;
    data['M_BranchCreatedUserID'] = this.mBranchCreatedUserID;
    data['M_BranchLastUpdated'] = this.mBranchLastUpdated;
    data['M_BranchLastUpdatedUserID'] = this.mBranchLastUpdatedUserID;
    data['M_BranchDeleted'] = this.mBranchDeleted;
    data['M_BranchDeletedUserID'] = this.mBranchDeletedUserID;
    return data;
  }
}
