import 'package:json_annotation/json_annotation.dart';

part 'user_agreement_model.g.dart';
@JsonSerializable()
class UserAgreementModel {
  @JsonKey(name: 'working_site_id')
  final int? workingSiteId;

  final String? username;

  @JsonKey(name: 'agree_new_decree')
  final bool? agreeNewDecree;

  @JsonKey(name: 'hide_delete_account')
  final bool? hideDeleteAccount;

  UserAgreementModel({
    this.workingSiteId,
    this.username,
    this.agreeNewDecree,
    this.hideDeleteAccount,
  });

  factory UserAgreementModel.fromJson(Map<String, dynamic> json) => _$UserAgreementModelFromJson(json);
  Map<String, dynamic> toJson() => _$UserAgreementModelToJson(this);
}