forked from oschina/iphone-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SingleNews.h
36 lines (31 loc) · 1.08 KB
/
SingleNews.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
//
// SingleNews.h
// oschina
//
// Created by wangjun on 12-3-16.
// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SingleNews : NSObject
@property int _id;
@property (copy,nonatomic) NSString * title;
@property (copy,nonatomic) NSString * url;
@property (copy,nonatomic) NSString * body;
@property (copy,nonatomic) NSString * author;
@property int authorid;
@property (copy,nonatomic) NSString * pubDate;
@property int commentCount;
@property (retain,nonatomic) NSArray * relativies;
@property (copy,nonatomic) NSString * softwarelink;
@property (copy,nonatomic) NSString * softwarename;
@property BOOL favorite;
- (id)initWithParameters:(int)newid
andTitle:(NSString *)ntitle
andUrl:(NSString *)newUrl
andBody:(NSString *)newBody
andAuthor:(NSString *)newAuthor
andAuthorID:(int)nauthorID
andPubDate:(NSString *)nPubDate
andCommentCount:(int)nCommentCount
andFavorite:(BOOL)nfavorite;
@end