| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- package com.uas.sso.entity;
- import com.alibaba.fastjson.annotation.JSONField;
- import org.codehaus.jackson.annotate.JsonIgnore;
- import javax.persistence.*;
- import java.io.Serializable;
- /**
- * @author wangmh
- * @create 2018-02-05 8:47
- * @desc 页面对应用独特样式
- **/
- @Entity
- @Table(name = "sso$app$style")
- public class PageStyle implements Serializable {
- /**
- *
- */
- private static final long serialVersionUID = 1L;
- /**
- * 应用Id
- */
- @Id
- @Column(name = "app_uid")
- private String appId;
- /**
- * 应用
- */
- @OneToOne(fetch = FetchType.LAZY, cascade = {CascadeType.ALL})
- @JoinColumn(name = "app_uid", insertable = false, updatable = false)
- private App app;
- /**
- * 应用描述
- */
- @Column(name = "app_desc")
- private String desc;
- /**
- * logo图片
- */
- @Column(name = "logo_url")
- private String logoUrl;
- /**
- * 背景图片
- */
- @Column(name = "bg_url")
- private String bgUrl;
- /**
- * 背景颜色
- */
- @Column(name = "bg_color")
- private String bgColor;
- /**
- * 背景图片链接
- */
- @Column(name = "bg_link")
- private String bgLink;
- /**
- * 主标题
- */
- @Column(name = "title")
- private String title;
- /**
- * 副标题
- */
- @Column(name = "subtitle")
- private String subtitle;
- /**
- * 按钮样式(json字符串)
- */
- @Column(name = "btns")
- private String btns;
- /**
- * 字体颜色
- */
- @Column(name = "font_color")
- private String fontColor;
- /**
- * 相对字体颜色
- */
- @Column(name = "reserve_color")
- private String reserveColor;
- public String getAppId() {
- return appId;
- }
- public void setAppId(String appId) {
- this.appId = appId;
- }
- @JsonIgnore
- @JSONField(serialize = false)
- public App getApp() {
- return app;
- }
- public void setApp(App app) {
- this.app = app;
- }
- public String getDesc() {
- return desc;
- }
- public void setDesc(String desc) {
- this.desc = desc;
- }
- public String getLogoUrl() {
- return logoUrl;
- }
- public void setLogoUrl(String logoUrl) {
- this.logoUrl = logoUrl;
- }
- public String getBgUrl() {
- return bgUrl;
- }
- public void setBgUrl(String bgUrl) {
- this.bgUrl = bgUrl;
- }
- public String getBgColor() {
- return bgColor;
- }
- public void setBgColor(String bgColor) {
- this.bgColor = bgColor;
- }
- public String getBgLink() {
- return bgLink;
- }
- public void setBgLink(String bgLink) {
- this.bgLink = bgLink;
- }
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public String getSubtitle() {
- return subtitle;
- }
- public void setSubtitle(String subtitle) {
- this.subtitle = subtitle;
- }
- public String getBtns() {
- return btns;
- }
- public void setBtns(String btns) {
- this.btns = btns;
- }
- public String getFontColor() {
- return fontColor;
- }
- public void setFontColor(String fontColor) {
- this.fontColor = fontColor;
- }
- public String getReserveColor() {
- return reserveColor;
- }
- public void setReserveColor(String reserveColor) {
- this.reserveColor = reserveColor;
- }
- }
|