001package com.thed.model;
002
003import java.io.Serializable;
004import java.util.Date;
005import java.util.HashSet;
006import java.util.Set;
007
008public class TCRCatalogTreeDTO implements Serializable {
009
010        private static final long serialVersionUID = 1L;
011        private Long parentId;
012        private String parentName;
013        private Long id;
014        private String type;
015        private String name;
016        private String description;
017        private Integer revision;
018        private Set<TCRCatalogTreeDTO> categories = new HashSet<>();
019        private Long releaseId;
020        private Long linkedTCRCatalogTreeId;
021        private Date createdOn;
022        private Long createdBy;
023        private Long lastModifiedBy;
024        private Date lastModifiedOn;
025
026        public Set<TCRCatalogTreeDTO> getCategories() {
027                return categories;
028        }
029
030        public void setCategories(Set<TCRCatalogTreeDTO> categories) {
031                this.categories = categories;
032        }
033
034        public Long getParentId() {
035                return parentId;
036        }
037
038        public void setParentId(Long parentId) {
039                this.parentId = parentId;
040        }
041
042        public Long getId() {
043                return id;
044        }
045
046        public void setId(Long id) {
047                this.id = id;
048        }
049
050        public String getType() {
051                return type;
052        }
053
054        public void setType(String type) {
055                this.type = type;
056        }
057
058        public String getName() {
059                return name;
060        }
061
062        public void setName(String name) {
063                this.name = name;
064        }
065
066        public String getDescription() {
067                return description;
068        }
069
070        public void setDescription(String description) {
071                this.description = description;
072        }
073
074        public Integer getRevision() {
075                return revision;
076        }
077
078        public void setRevision(Integer revision) {
079                this.revision = revision;
080        }
081
082        public Long getReleaseId() {
083                return releaseId;
084        }
085
086        public void setReleaseId(Long releaseId) {
087                this.releaseId = releaseId;
088        }
089
090        @Deprecated
091        public Long getLinkedTCRCatalogTreeId() {
092                return linkedTCRCatalogTreeId;
093        }
094
095        @Deprecated
096        public void setLinkedTCRCatalogTreeId(Long linkedTCRCatalogTreeId) {
097                this.linkedTCRCatalogTreeId = linkedTCRCatalogTreeId;
098        }
099
100        public Date getCreatedOn() {
101                return createdOn;
102        }
103
104        public void setCreatedOn(Date createdOn) {
105                this.createdOn = createdOn;
106        }
107
108        public Long getCreatedBy() {
109                return createdBy;
110        }
111
112        public void setCreatedBy(Long createdBy) {
113                this.createdBy = createdBy;
114        }
115
116        public Long getLastModifiedBy() {
117                return lastModifiedBy;
118        }
119
120        public void setLastModifiedBy(Long lastModifiedBy) {
121                this.lastModifiedBy = lastModifiedBy;
122        }
123
124        public Date getLastModifiedOn() {
125                return lastModifiedOn;
126        }
127
128        public void setLastModifiedOn(Date lastModifiedOn) {
129                this.lastModifiedOn = lastModifiedOn;
130        }
131
132        public String getParentName() {
133                return parentName;
134        }
135
136        public void setParentName(String parentName) {
137                this.parentName = parentName;
138        }
139}