forked from oschina/iphone-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Blog.h
37 lines (32 loc) · 1.07 KB
/
Blog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// Blog.h
// oschina
//
// Created by wangjun on 12-4-25.
// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Blog : NSObject
@property int _id;
@property (copy,nonatomic) NSString * title;
@property (copy,nonatomic) NSString * where;
@property (copy,nonatomic) NSString * body;
@property (copy,nonatomic) NSString * author;
@property int authorid;
@property int documentType;
@property (copy,nonatomic) NSString * pubDate;
@property BOOL favorite;
@property (copy,nonatomic) NSString * url;
@property int commentCount;
- (id)initWithParameters:(int)nid
andTitle:(NSString *)ntitle
andWhere:(NSString *)nwhere
andBody:(NSString *)nbody
andAuthor:(NSString *)nauthor
andAuthorid:(int)nauthorid
andDocumentType:(int)nDocumentType
andPubDate:(NSString *)nPubDate
andFavorite:(BOOL)nfavorite
andUrl:(NSString *)nurl
andCommentCount:(int)ncommentCount;
@end