/// alertCover : ""
/// content : ""
/// cover : ""
/// displayPosition : ""
/// expiredTime : 0
/// id : 0
/// params : ""
/// smallCover : ""
/// sysOrigin : ""
/// type : ""

class SCIndexBannerRes {
  SCIndexBannerRes({
      String? alertCover,
      String? content,
      String? cover,
      String? displayPosition,
      num? expiredTime,
      String? id,
      String? params,
      String? smallCover,
      String? sysOrigin,
      String? type,}){
    _alertCover = alertCover;
    _content = content;
    _cover = cover;
    _displayPosition = displayPosition;
    _expiredTime = expiredTime;
    _id = id;
    _params = params;
    _smallCover = smallCover;
    _sysOrigin = sysOrigin;
    _type = type;
}

  SCIndexBannerRes.fromJson(dynamic json) {
    _alertCover = json['alertCover'];
    _content = json['content'];
    _cover = json['cover'];
    _displayPosition = json['displayPosition'];
    _expiredTime = json['expiredTime'];
    _id = json['id'];
    _params = json['params'];
    _smallCover = json['smallCover'];
    _sysOrigin = json['sysOrigin'];
    _type = json['type'];
  }
  String? _alertCover;
  String? _content;
  String? _cover;
  String? _displayPosition;
  num? _expiredTime;
  String? _id;
  String? _params;
  String? _smallCover;
  String? _sysOrigin;
  String? _type;
SCIndexBannerRes copyWith({  String? alertCover,
  String? content,
  String? cover,
  String? displayPosition,
  num? expiredTime,
  String? id,
  String? params,
  String? smallCover,
  String? sysOrigin,
  String? type,
}) => SCIndexBannerRes(  alertCover: alertCover ?? _alertCover,
  content: content ?? _content,
  cover: cover ?? _cover,
  displayPosition: displayPosition ?? _displayPosition,
  expiredTime: expiredTime ?? _expiredTime,
  id: id ?? _id,
  params: params ?? _params,
  smallCover: smallCover ?? _smallCover,
  sysOrigin: sysOrigin ?? _sysOrigin,
  type: type ?? _type,
);
  String? get alertCover => _alertCover;
  String? get content => _content;
  String? get cover => _cover;
  String? get displayPosition => _displayPosition;
  num? get expiredTime => _expiredTime;
  String? get id => _id;
  String? get params => _params;
  String? get smallCover => _smallCover;
  String? get sysOrigin => _sysOrigin;
  String? get type => _type;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['alertCover'] = _alertCover;
    map['content'] = _content;
    map['cover'] = _cover;
    map['displayPosition'] = _displayPosition;
    map['expiredTime'] = _expiredTime;
    map['id'] = _id;
    map['params'] = _params;
    map['smallCover'] = _smallCover;
    map['sysOrigin'] = _sysOrigin;
    map['type'] = _type;
    return map;
  }

}