
import 'package:dart_json_mapper/dart_json_mapper.dart';

@jsonSerializable
class User {
  int? id;
  String? nickname;
  String? account;
  int? port;
  String? passwd;
  String? uuid;
  int? transferEnable;
  String? unusedTraffic;
  int? u;
  int? d;
  int? t;
  int? enable;
  int? speedLimit;
  int? credit;
  String? expiredAt;
  String? banTime;
  String? level;
  String? group;
  int? lastLogin;
  String? resetTime;
  int? inviteNum;
  String? userGroupId;
  int? status;
  String? code;

  User(
      {this.id,
        this.nickname,
        this.account,
        this.port,
        this.passwd,
        this.uuid,
        this.transferEnable,
        this.unusedTraffic,
        this.u,
        this.d,
        this.t,
        this.enable,
        this.speedLimit,
        this.credit,
        this.expiredAt,
        this.banTime,
        this.level,
        this.group,
        this.lastLogin,
        this.resetTime,
        this.inviteNum,
        this.userGroupId,
        this.status,
        this.code});
}