From 4ebe7c447e964e1b3ead12abb1d95b75faf67426 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 27 二月 2021 15:22:46 +0800 Subject: [PATCH] PPTV完善,兼容多个系统的框架搭建 --- src/main/java/com/yeshi/buwan/domain/HomeType.java | 298 ++++++++++++++++++++++++++++++---------------------------- 1 files changed, 154 insertions(+), 144 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/domain/HomeType.java b/src/main/java/com/yeshi/buwan/domain/HomeType.java index d1a502a..5239834 100644 --- a/src/main/java/com/yeshi/buwan/domain/HomeType.java +++ b/src/main/java/com/yeshi/buwan/domain/HomeType.java @@ -11,192 +11,202 @@ /** * 棣栭〉鐨勫垎绫� - * + * * @author Administrator - * */ @Entity -public class HomeType implements Serializable{ - @Expose - private String id; - @Expose - private String name; - @Expose - private String createtime; - private String beizhu; - @Pattern(regexp="[0-9]+",message="璇疯緭鍏ユ暟瀛�") - private String orderby; - private AdminInfo admin; - @Expose - private List<HomeVideo> homeVideoList; - @Expose - private List<VideoInfo> videoList;// 鍋氳�佺増鏈吋瀹� - @Expose - private String activity; - @Expose - private String params; - @Expose - private boolean hasMore; - @Expose - private String iosControl; - @Expose - private String icon; - - private VideoType videoType; //20170914 - - public String getIcon() { - return icon; - } +public class HomeType implements Serializable { + @Expose + private String id; + @Expose + private String name; + @Expose + private String createtime; + private String beizhu; + @Pattern(regexp = "[0-9]+", message = "璇疯緭鍏ユ暟瀛�") + private String orderby; + private AdminInfo admin; + @Expose + private List<HomeVideo> homeVideoList; + @Expose + private List<VideoInfo> videoList;// 鍋氳�佺増鏈吋瀹� + @Expose + private String activity; + @Expose + private String params; + @Expose + private boolean hasMore; + @Expose + private String iosControl; + @Expose + private String icon; - public VideoType getVideoType() { - return videoType; - } + @Expose + private int columns; - public void setVideoType(VideoType videoType) { - this.videoType = videoType; - } + @Expose + private List<HomeTypeItem> itemTypeList;//瀛愮被鍨� - public void setIcon(String icon) { - this.icon = icon; - } + @Expose + private int number;// 鏄剧ず澶氬皯涓� - @Expose - private List<HomeTypeItem> itemTypeList;//瀛愮被鍨� + private SystemInfo system; + + private VideoType videoType; //20170914 + + public String getIcon() { + return icon; + } + + public VideoType getVideoType() { + return videoType; + } + + public void setVideoType(VideoType videoType) { + this.videoType = videoType; + } + + public void setIcon(String icon) { + this.icon = icon; + } - public List<HomeTypeItem> getItemTypeList() { - return itemTypeList; - } + public List<HomeTypeItem> getItemTypeList() { + return itemTypeList; + } - public void setItemTypeList(List<HomeTypeItem> itemTypeList) { - this.itemTypeList = itemTypeList; - } + public void setItemTypeList(List<HomeTypeItem> itemTypeList) { + this.itemTypeList = itemTypeList; + } - public String getIosControl() { - return iosControl; - } + public String getIosControl() { + return iosControl; + } - public void setIosControl(String iosControl) { - this.iosControl = iosControl; - } + public void setIosControl(String iosControl) { + this.iosControl = iosControl; + } - @Expose - private int number;// 鏄剧ず澶氬皯涓� - public int getNumber() { - return number; - } + public int getNumber() { + return number; + } - public void setNumber(int number) { - this.number = number; - } + public void setNumber(int number) { + this.number = number; + } - public String getActivity() { - return activity; - } + public String getActivity() { + return activity; + } - public void setActivity(String activity) { - this.activity = activity; - } + public void setActivity(String activity) { + this.activity = activity; + } - public String getParams() { - return params; - } + public String getParams() { + return params; + } - public void setParams(String params) { - this.params = params; - } + public void setParams(String params) { + this.params = params; + } - public boolean isHasMore() { - return hasMore; - } + public boolean isHasMore() { + return hasMore; + } - public void setHasMore(boolean hasMore) { - this.hasMore = hasMore; - } + public void setHasMore(boolean hasMore) { + this.hasMore = hasMore; + } - public List<VideoInfo> getVideoList() { - return videoList; - } + public List<VideoInfo> getVideoList() { + return videoList; + } - public void setVideoList(List<VideoInfo> videoList) { - this.videoList = videoList; - } + public void setVideoList(List<VideoInfo> videoList) { + this.videoList = videoList; + } - public List<HomeVideo> getHomeVideoList() { - return homeVideoList; - } + public List<HomeVideo> getHomeVideoList() { + return homeVideoList; + } - public void setHomeVideoList(List<HomeVideo> homeVideoList) { - this.homeVideoList = homeVideoList; - } + public void setHomeVideoList(List<HomeVideo> homeVideoList) { + this.homeVideoList = homeVideoList; + } - @Expose - private int columns; - public int getColumns() { - return columns; - } + public int getColumns() { + return columns; + } - public void setColumns(int columns) { - this.columns = columns; - } + public void setColumns(int columns) { + this.columns = columns; + } - public HomeType() { + public HomeType() { - } + } - public HomeType(String id) { - this.id = id; - } + public HomeType(String id) { + this.id = id; + } - public String getId() { - return id; - } + public String getId() { + return id; + } - public void setId(String id) { - this.id = id; - } + public void setId(String id) { + this.id = id; + } - public String getName() { - return name; - } + public String getName() { + return name; + } - public void setName(String name) { - this.name = name; - } + public void setName(String name) { + this.name = name; + } - public String getCreatetime() { - return createtime; - } + public String getCreatetime() { + return createtime; + } - public void setCreatetime(String createtime) { - this.createtime = createtime; - } + public void setCreatetime(String createtime) { + this.createtime = createtime; + } - public String getBeizhu() { - return beizhu; - } + public String getBeizhu() { + return beizhu; + } - public void setBeizhu(String beizhu) { - this.beizhu = beizhu; - } + public void setBeizhu(String beizhu) { + this.beizhu = beizhu; + } - public String getOrderby() { - return orderby; - } + public String getOrderby() { + return orderby; + } - public void setOrderby(String orderby) { - this.orderby = orderby; - } + public void setOrderby(String orderby) { + this.orderby = orderby; + } - @ManyToOne - public AdminInfo getAdmin() { - return admin; - } + @ManyToOne + public AdminInfo getAdmin() { + return admin; + } - public void setAdmin(AdminInfo admin) { - this.admin = admin; - } + public void setAdmin(AdminInfo admin) { + this.admin = admin; + } + public SystemInfo getSystem() { + return system; + } + + public void setSystem(SystemInfo system) { + this.system = system; + } } -- Gitblit v1.8.0