| package com.matrix.system.hive.bean; | 
|   | 
| import java.io.Serializable; | 
| import java.util.List; | 
| /** | 
|  * | 
|  * @date 2016-07-15 16:26 | 
|  */ | 
| public class ArticleType implements Serializable{ | 
|   | 
|     private static final long serialVersionUID = 1L;  | 
|   | 
|      | 
|     private Long  id; | 
|              | 
|      | 
|     /** | 
|      * 文章类型名称 | 
|      */ | 
|     private String  articleTypeName; | 
|              | 
|      | 
|     /** | 
|      * 父级类型 | 
|      */ | 
|     private Long  parentId; | 
|              | 
|      | 
|     /** | 
|      * 排序 | 
|      */ | 
|     private Integer  sort; | 
|              | 
|      | 
|     /** | 
|      * 文章类型描述 | 
|      */ | 
|     private String  description; | 
|              | 
|      | 
|     /** | 
|      * 链接地址 | 
|      */ | 
|     private String  url; | 
|              | 
|      | 
|     /** | 
|      * 图标 | 
|      */ | 
|     private String  icon; | 
|              | 
|      | 
|     /** | 
|      * 预留字段(文章类型) | 
|      */ | 
|     private String  type; | 
|   | 
|     private Long shopId; | 
|              | 
|     /** | 
|      * 扩展属性 | 
|      */ | 
|     //private Article article; | 
|   | 
|      | 
|     private List<Article> article; | 
|      | 
|     public List<Article> getArticle() { | 
|         return article; | 
|     } | 
|   | 
|     public void setArticle(List<Article> article) { | 
|         this.article = article; | 
|     } | 
|   | 
|         | 
|   /*     public Article getArticle() { | 
|         return article; | 
|     } | 
|   | 
|     public void setArticle(Article article) { | 
|         this.article = article; | 
|     }*/ | 
|     public Long getId() { | 
|         return id; | 
|     } | 
|   | 
|     public void setId(Long id) { | 
|         this.id=id; | 
|     } | 
|         | 
|   | 
|     public String getArticleTypeName() { | 
|         return articleTypeName; | 
|     } | 
|         | 
|        public void setArticleTypeName(String articleTypeName) { | 
|         this.articleTypeName=articleTypeName; | 
|     } | 
|         | 
|   | 
|     public Long getParentId() { | 
|         return parentId; | 
|     } | 
|         | 
|        public void setParentId(Long parentId) { | 
|         this.parentId=parentId; | 
|     } | 
|         | 
|   | 
|     public Integer getSort() { | 
|         return sort; | 
|     } | 
|         | 
|        public void setSort(Integer sort) { | 
|         this.sort=sort; | 
|     } | 
|         | 
|   | 
|     public String getDescription() { | 
|         return description; | 
|     } | 
|         | 
|        public void setDescription(String description) { | 
|         this.description=description; | 
|     } | 
|         | 
|   | 
|     public String getUrl() { | 
|         return url; | 
|     } | 
|         | 
|        public void setUrl(String url) { | 
|         this.url=url; | 
|     } | 
|   | 
|     public Long getShopId() { | 
|         return shopId; | 
|     } | 
|   | 
|     public void setShopId(Long shopId) { | 
|         this.shopId = shopId; | 
|     } | 
|   | 
|     public String getIcon() { | 
|         return icon; | 
|     } | 
|         | 
|        public void setIcon(String icon) { | 
|         this.icon=icon; | 
|     } | 
|         | 
|   | 
|     public String getType() { | 
|         return type; | 
|     } | 
|         | 
|        public void setType(String type) { | 
|         this.type=type; | 
|     } | 
|   | 
|     @Override | 
|     public String toString() { | 
|         return "ArticleType [id=" + id + ", articleTypeName=" + articleTypeName | 
|                 + ", parentId=" + parentId + ", sort=" + sort | 
|                 + ", description=" + description + ", url=" + url + ", icon=" | 
|                 + icon + ", type=" + type + "]"; | 
|     } | 
|         | 
|    | 
| } |