发布模块详细类图
2017-03-10 22:27:19 0 举报
该模块详细类图展示了一个发布系统的各个组件及其之间的关系。图中的主要类包括:用户、文章、评论、标签和发布器。用户类表示系统中的注册用户,具有登录、发表文章、评论等功能;文章类表示用户发布的文章内容,包含标题、正文、作者等信息;评论类表示用户对文章的评论,包含评论内容、评论者、被评论文章等信息;标签类表示文章的关键词,用于分类和检索;发布器类负责处理用户的发布请求,将文章、评论等数据存储到数据库中。这些类之间通过关联关系相互联系,共同构成了一个完整的发布系统。
作者其他创作
大纲/内容
CommentInput
+ placeholder: String+ btnText: String
- onSubmit: Boolean
CommentContainer
+ announcement: Object+ affair: Object- commentPublicType: Int- commentList: Array
+ onCreateComment: Boolean- fetchCommentList: Array- onDeleteComment: Boolean- changeCommentPublicType: Boolean
AnnouncementContainer
+ announcementList: Array+ affair: Object- type: Int- containChild: Boolean- vision: Int- hasMore: Boolean- filters: Object- showCreateAnnouncementModal: Boolean- draftModalVisible: Boolean- initialDraft: Object
- loadAnnouncementList(): Array- handleDeleteDraft(): Object- handleFetchDraftList(): Array- onFilterChange(Object): Object- onSearch(Object): Array- handleEditDraft(Int): Object
SubAnnouncementContainer
+ announcement: Object+ affair: Object- subAnnouncementList: Array- showCreateAnnouncemenModal: Boolean
- onCreateAnnouncement: Boolean- fetchSubAnnouncementList: Array
announcementAction
+ FETCH_DRAFT_LIST: String+ FETCH_ANNOUNCEMENT_LIST: String+ DELETE_DRAFT: String
announcementReducer
- state: Object
+ getAnnouncementState(): Object
CreateAnnouncementModal
+ affairId: Int+ parentAnnouncement: Object+ editAnnouncement: Object+ initialDraft: Object- selectedOfficialRoleList: Array- selectedGuestList: Array- openChooseTemplatePanel: Boolean- currentTemplate: Int- chosenTemplate: Int- officialRoleList: Array
- handleChangeTemplate(Int): Int- handleCreate(Boolean): Object- handleSaveDraft(): Object- handleSelectOfficialChange(Array): Boolean
AttachmentContainer
+ announcement: Object+ affair: Object- fileList: Array
- handleDownloadFile: Boolean- fetchFileList: Array
oss
+ downloadFile+ uploadAnnounceAttachment+ uploadAnnouncementFile
TaskContainer
+ announcement: Object+ affair: Object- isEdit: Boolean- editType: Int- tasklList: Array- hasmore: Boolean- isFetching: Boolean
+ fetchTaskList: Array
React
- componentWillMount()- componentDidMount()- componentWillReceiveProps()- render()
AnnouncementDetail
- publicTypePopoverVisible: Boolean- toolDropdown: Boolean- showDifference: Boolean- announcement: Object- announcementHasSub: Object- showAnnouncementMoveModal: Boolean- version: Array- officialList: Array- guestList: Array- followerList: Array- activeKey: Int- showAddGuestModal: Boolean
AnnouncementItem
+ affairId: Int+ announcement: Object
- onClick(): Object
0 条评论
下一页