Files
2015-10-25 18:35:39 +08:00

47 lines
981 B
Swift

//
// Profile.swift
// librx
//
// Created by Yunlong Zheng on 15/10/10.
// Copyright © 2015年 librx. All rights reserved.
//
import Foundation
class Profile {
let id: Int
let name: String
let avatar: String
let email: String
let followed: Bool
let likeCount: Int
let postsCount: Int
let followsCount: Int
let followersCount: Int
init( id: Int,
name: String,
avatar: String,
email: String,
followed: Bool,
postsCount: Int,
likeCount: Int,
followsCount: Int,
followersCount: Int
) {
self.id = id
self.name = name
self.avatar = avatar
self.email = email
self.followed = followed
self.postsCount = postsCount
self.likeCount = likeCount
self.followersCount = followersCount
self.followsCount = followsCount
}
}