package com.hotent.system.model; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.hotent.base.entity.AutoFillModel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.xml.bind.annotation.XmlAttribute; import java.time.LocalDateTime; @TableName("portal_sys_external_unite") @ApiModel(description = "附件分类信息") public class SysExternalUnite extends AutoFillModel { @ApiModelProperty(name="id", notes="主键") @TableId("id_") protected String id; @XmlAttribute(name = "tenantId") @TableField("TENANT_ID_") @ApiModelProperty(value="租户id") protected String tenantId; @ApiModelProperty("企业名称") @TableField("CORP_NAME_") protected String corpName; @ApiModelProperty("企业id") @TableField("CORP_ID_") protected String corpId; @ApiModelProperty("企业secret") @TableField("CORP_SECRET_") protected String corpSecret; @ApiModelProperty("集成类型") @TableField("TYPE_") protected String type; @ApiModelProperty("本系统地址") @TableField("BASE_URL_") protected String baseUrl; @ApiModelProperty("本系统PC端地址") @TableField("PC_BASE_URL_") protected String pcBaseUrl; @ApiModelProperty("应用id") @TableField("AGENT_ID_") protected String agentId; @ApiModelProperty("应用key") @TableField("AGENT_KEY_") protected String agentKey; @ApiModelProperty("菜单名称") @TableField("MENU_NAME_") protected String menuName; @ApiModelProperty("应用secret") @TableField("AGENT_SECRET_") protected String agentSecret; @ApiModelProperty("菜单url") @TableField("MENU_URL_") protected String menuUrl; @ApiModelProperty("PC端菜单url") @TableField("PC_MENU_URL_") protected String pcMenuUrl; @ApiModelProperty("公众号模板消息id") @TableField("TEMP_MSG_ID_") protected String tempMsgId; @ApiModelProperty("扫码登录的appId") @TableField("SCAN_APP_ID_") protected String scanAppId; @ApiModelProperty("扫码登录的appSecret") @TableField("SCAN_APP_SECRET_") protected String scanAppSecret; @ApiModelProperty("是否发布") @TableField(exist=false) protected String isPublish; @ApiModelProperty("是否同步组织架构") @TableField("SYNC_FLAG_") protected Boolean syncFlag; @ApiModelProperty("同步范围,0-全部;1-仅用户;2-部分") @TableField("SYNC_SCOPE_") protected Integer syncScope; @ApiModelProperty("同步组织") @TableField("SYNC_ORG_") protected String syncOrg; @ApiModelProperty("同步组织ID") @TableField("SYNC_ORG_ID_") protected String syncOrgId; @ApiModelProperty("同步方式,拉取或上传") @TableField("SYNC_DIRECTION_") protected Integer syncDirection; @ApiModelProperty("同步方法,是否自动同步") @TableField("AUTO_SYNC_") protected Boolean autoSync; @ApiModelProperty("同步频率,0-每周;1-每月;2-每小时") @TableField("SYNC_FREQUENCY_") protected Integer syncFrequency; @ApiModelProperty("同步起始时间") @TableField("SYNC_STARTING_TIME") protected LocalDateTime syncStartingTime; @ApiModelProperty("应用名称") @TableField("AGENT_NAME_") protected String agentName; @ApiModelProperty("应用别名") @TableField("ALIAS_") protected String alias; public void setTenantId(String tenantId) { this.tenantId = tenantId; } public String getTenantId() { return tenantId; } public String getAgentName() { return agentName; } public String getAlias() { return alias; } public void setAgentName(String agentName) { this.agentName = agentName; } public void setAlias(String alias) { this.alias = alias; } public Boolean getSyncFlag() { return syncFlag; } public LocalDateTime getSyncStartingTime() { return syncStartingTime; } public Integer getSyncFrequency() { return syncFrequency; } public void setSyncFlag(Boolean syncFlag) { this.syncFlag = syncFlag; } public void setSyncFrequency(Integer syncFrequency) { this.syncFrequency = syncFrequency; } public void setSyncStartingTime(LocalDateTime syncStartingTime) { this.syncStartingTime = syncStartingTime; } public Boolean getAutoSync() { return autoSync; } public Integer getSyncScope() { return syncScope; } public Integer getSyncDirection() { return syncDirection; } public String getSyncOrg() { return syncOrg; } public String getSyncOrgId() { return syncOrgId; } public void setAutoSync(Boolean autoSync) { this.autoSync = autoSync; } public void setSyncScope(Integer syncScope) { this.syncScope = syncScope; } public void setSyncDirection(Integer syncDirection) { this.syncDirection = syncDirection; } public void setSyncOrg(String syncOrg) { this.syncOrg = syncOrg; } public void setSyncOrgId(String syncOrgId) { this.syncOrgId = syncOrgId; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getCorpName() { return corpName; } public void setCorpName(String corpName) { this.corpName = corpName; } public String getCorpId() { return corpId; } public void setCorpId(String corpId) { this.corpId = corpId; } public String getCorpSecret() { return corpSecret; } public void setCorpSecret(String corpSecret) { this.corpSecret = corpSecret; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getBaseUrl() { return baseUrl; } public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } public String getAgentId() { return agentId; } public void setAgentId(String agentId) { this.agentId = agentId; } public String getAgentKey() { return agentKey; } public void setAgentKey(String agentKey) { this.agentKey = agentKey; } public String getMenuName() { return menuName; } public void setMenuName(String menuName) { this.menuName = menuName; } public String getAgentSecret() { return agentSecret; } public void setAgentSecret(String agentSecret) { this.agentSecret = agentSecret; } public String getMenuUrl() { return menuUrl; } public void setMenuUrl(String menuUrl) { this.menuUrl = menuUrl; } public String getTempMsgId() { return tempMsgId; } public void setTempMsgId(String tempMsgId) { this.tempMsgId = tempMsgId; } public String getScanAppId() { return scanAppId; } public void setScanAppId(String scanAppId) { this.scanAppId = scanAppId; } public String getScanAppSecret() { return scanAppSecret; } public void setScanAppSecret(String scanAppSecret) { this.scanAppSecret = scanAppSecret; } public String getIsPublish() { return isPublish; } public void setIsPublish(String isPublish) { this.isPublish = isPublish; } public String getPcBaseUrl() { return pcBaseUrl; } public void setPcBaseUrl(String pcBaseUrl) { this.pcBaseUrl = pcBaseUrl; } public String getPcMenuUrl() { return pcMenuUrl; } public void setPcMenuUrl(String pcMenuUrl) { this.pcMenuUrl = pcMenuUrl; } }