//
//  ECSystemMessage.h
//  ECDataMgr
//
//  Created by Ciml on 11-11-30.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>


/**
	系统消息数据模型
 */
@interface ECSystemMessage :  NSManagedObject
 
{
}

/**
	消息类型，（后台推送消息包含此字段）
 */
@property (nonatomic, retain) NSNumber * msgType;

@property (nonatomic, retain) NSDate * recieveTime;
/**
	文本链接
 */
@property (nonatomic, retain) NSString * textLink;

/**
	图片链接
 */
@property (nonatomic, retain) NSString * picLink;

@property (nonatomic, retain) NSString * msgTitle;
/**
	[NSNumber numberWithInt:YES] - 是图片 NO - 非图片
 */
@property (nonatomic, retain) NSNumber * isPic;

/**
 主键，必须值
 */
@property (nonatomic, retain) NSNumber * msgId;

/**
	消息内容
 */
@property (nonatomic, retain) NSString * msgContent;
/**
	后台推送包含此字段
 */
@property (nonatomic, retain) NSNumber * showType;


@end



