package com.gxwebsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.gxwebsoft.common.system.entity.User;
import com.gxwebsoft.common.system.entity.WebsiteField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 网站信息记录表
 *
 * @author 科技小王子
 * @since 2024-09-10 20:36:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "CmsWebsite对象", description = "网站信息记录表")
public class CmsWebsite implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "站点ID")
    @TableId(value = "website_id", type = IdType.AUTO)
    private Integer websiteId;

    @ApiModelProperty(value = "网站名称")
    private String websiteName;

    @ApiModelProperty(value = "网站标识")
    private String websiteCode;

    @ApiModelProperty(value = "网站LOGO")
    private String websiteIcon;

    @ApiModelProperty(value = "网站LOGO")
    private String websiteLogo;

    @ApiModelProperty(value = "网站LOGO(深色模式)")
    private String websiteDarkLogo;

    @ApiModelProperty(value = "网站类型")
    private String websiteType;

    @ApiModelProperty(value = "网站关键词")
    private String keywords;

    @ApiModelProperty(value = "域名前缀")
    private String prefix;

    @ApiModelProperty(value = "绑定域名")
    private String domain;

    @ApiModelProperty(value = "全局样式")
    private String style;

    @ApiModelProperty(value = "后台管理地址")
    private String adminUrl;

    @ApiModelProperty(value = "应用版本 10免费版 20授权版 30永久授权")
    private Integer version;

    @ApiModelProperty(value = "服务到期时间")
    private Date expirationTime;

    @ApiModelProperty(value = "模版ID")
    private Integer templateId;

    @ApiModelProperty(value = "行业类型(父级)")
    private String industryParent;

    @ApiModelProperty(value = "行业类型(子级)")
    private String industryChild;

    @ApiModelProperty(value = "企业ID")
    private Integer companyId;

    @ApiModelProperty(value = "所在国家")
    private String country;

    @ApiModelProperty(value = "所在省份")
    private String province;

    @ApiModelProperty(value = "所在城市")
    private String city;

    @ApiModelProperty(value = "所在辖区")
    private String region;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "街道地址")
    private String address;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "ICP备案号")
    private String icpNo;

    @ApiModelProperty(value = "公安备案")
    private String policeNo;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "是否推荐")
    private Integer recommend;

    @ApiModelProperty(value = "状态 0未开通 1运行中 2维护中 3已关闭 4已欠费停机 5违规关停")
    private Integer status;

    @ApiModelProperty(value = "维护说明")
    private String statusText;

    @ApiModelProperty(value = "关闭说明")
    private String statusClose;

    @ApiModelProperty(value = "全局样式")
    private String styles;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "预设字段")
    @TableField(exist = false)
    private HashMap<String, Object> fields;

    @ApiModelProperty(value = "小程序导航图标")
    @TableField(exist = false)
    private Map<String, List<CmsMpMenu>> mpMenus;

    @ApiModelProperty(value = "网站导航栏")
    @TableField(exist = false)
    private List<CmsNavigation> navigations;

    @ApiModelProperty(value = "顶部菜单")
    @TableField(exist = false)
    private List<CmsNavigation> topNavs;

    @ApiModelProperty(value = "底部菜单")
    @TableField(exist = false)
    private List<CmsNavigation> bottomNavs;

    @ApiModelProperty(value = "幻灯片广告")
    @TableField(exist = false)
    private CmsAd slide;

    @ApiModelProperty(value = "站点广告")
    @TableField(exist = false)
    private List<CmsAd> ads;

    @ApiModelProperty(value = "首页布局")
    @TableField(exist = false)
    private String layout;

    @ApiModelProperty(value = "友情链接")
    @TableField(exist = false)
    private List<CmsLink> links;

    @ApiModelProperty(value = "配置信息")
    @TableField(exist = false)
    private Object config;

    @ApiModelProperty(value = "服务器时间")
    @TableField(exist = false)
    private HashMap<String, Object> serverTime;

    @ApiModelProperty(value = "当前登录用户")
    @TableField(exist = false)
    private User loginUser;


}
