| | |
| | | private String remarks; |
| | | private Date createTime; |
| | | private Date updateTime; |
| | | private String channel; |
| | | |
| | | |
| | | public VideoResourceVersionMap() { |
| | | |
| | | } |
| | | |
| | | public VideoResourceVersionMap(String detailSystemId, Integer version, String resourceId) { |
| | | public VideoResourceVersionMap(String detailSystemId, Integer version, String resourceId, String channel) { |
| | | this.detailSystemId = detailSystemId; |
| | | this.version = version; |
| | | this.resourceId = resourceId; |
| | | this.channel = channel; |
| | | } |
| | | |
| | | public static String createId(String detailSystemId, Integer version, String resourceId) { |
| | | return detailSystemId + "-" + version + "-" + resourceId; |
| | | public static String createId(String detailSystemId, Integer version, String resourceId, String channel) { |
| | | String id = detailSystemId + "-" + version + "-" + resourceId; |
| | | if (channel != null) { |
| | | id += "-" + channel; |
| | | } |
| | | return id; |
| | | } |
| | | |
| | | public String getId() { |
| | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public String getChannel() { |
| | | return channel; |
| | | } |
| | | |
| | | public void setChannel(String channel) { |
| | | this.channel = channel; |
| | | } |
| | | } |