class PageData {
  PageData({
    int? pageId,
    String? vietnameseName,
    String? englishName,
    String? vietnameseSlug,
    String? englishSlug,
    String? vietnameseShortDescription,
    String? englishShortDescription,
    dynamic image,
    String? vietnameseContent,
    String? englishContent,
    dynamic vietnameseKeyword,
    dynamic englishKeyword,
    dynamic vietnameseDescription,
    dynamic englishDescription,
    int? pageIndex,}){
    _pageId = pageId;
    _vietnameseName = vietnameseName;
    _englishName = englishName;
    _vietnameseSlug = vietnameseSlug;
    _englishSlug = englishSlug;
    _vietnameseShortDescription = vietnameseShortDescription;
    _englishShortDescription = englishShortDescription;
    _image = image;
    _vietnameseContent = vietnameseContent;
    _englishContent = englishContent;
    _vietnameseKeyword = vietnameseKeyword;
    _englishKeyword = englishKeyword;
    _vietnameseDescription = vietnameseDescription;
    _englishDescription = englishDescription;
    _pageIndex = pageIndex;
  }

  PageData.fromJson(dynamic json) {
    _pageId = json['PageId'];
    _vietnameseName = json['VietnameseName'];
    _englishName = json['EnglishName'];
    _vietnameseSlug = json['VietnameseSlug'];
    _englishSlug = json['EnglishSlug'];
    _vietnameseShortDescription = json['VietnameseShortDescription'];
    _englishShortDescription = json['EnglishShortDescription'];
    _image = json['Image'];
    _vietnameseContent = json['VietnameseContent'];
    _englishContent = json['EnglishContent'];
    _vietnameseKeyword = json['VietnameseKeyword'];
    _englishKeyword = json['EnglishKeyword'];
    _vietnameseDescription = json['VietnameseDescription'];
    _englishDescription = json['EnglishDescription'];
    _pageIndex = json['PageIndex'];
  }
  int? _pageId;
  String? _vietnameseName;
  String? _englishName;
  String? _vietnameseSlug;
  String? _englishSlug;
  String? _vietnameseShortDescription;
  String? _englishShortDescription;
  dynamic _image;
  String? _vietnameseContent;
  String? _englishContent;
  dynamic _vietnameseKeyword;
  dynamic _englishKeyword;
  dynamic _vietnameseDescription;
  dynamic _englishDescription;
  int? _pageIndex;

  int? get pageId => _pageId;
  String? get vietnameseName => _vietnameseName;
  String? get englishName => _englishName;
  String? get vietnameseSlug => _vietnameseSlug;
  String? get englishSlug => _englishSlug;
  String? get vietnameseShortDescription => _vietnameseShortDescription;
  String? get englishShortDescription => _englishShortDescription;
  dynamic get image => _image;
  String? get vietnameseContent => _vietnameseContent;
  String? get englishContent => _englishContent;
  dynamic get vietnameseKeyword => _vietnameseKeyword;
  dynamic get englishKeyword => _englishKeyword;
  dynamic get vietnameseDescription => _vietnameseDescription;
  dynamic get englishDescription => _englishDescription;
  int? get pageIndex => _pageIndex;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['PageId'] = _pageId;
    map['VietnameseName'] = _vietnameseName;
    map['EnglishName'] = _englishName;
    map['VietnameseSlug'] = _vietnameseSlug;
    map['EnglishSlug'] = _englishSlug;
    map['VietnameseShortDescription'] = _vietnameseShortDescription;
    map['EnglishShortDescription'] = _englishShortDescription;
    map['Image'] = _image;
    map['VietnameseContent'] = _vietnameseContent;
    map['EnglishContent'] = _englishContent;
    map['VietnameseKeyword'] = _vietnameseKeyword;
    map['EnglishKeyword'] = _englishKeyword;
    map['VietnameseDescription'] = _vietnameseDescription;
    map['EnglishDescription'] = _englishDescription;
    map['PageIndex'] = _pageIndex;
    return map;
  }

}