package com.vci.ubcs.code.entity;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.vci.starter.web.annotation.Column;
|
import com.vci.starter.web.annotation.Transient;
|
import com.vci.starter.web.annotation.VciBtmType;
|
import com.vci.starter.web.annotation.VciUseEnum;
|
import com.vci.starter.web.constant.FrameWorkLcStatusConstant;
|
import com.vci.starter.web.model.BaseModel;
|
import com.vci.ubcs.code.constant.MdmBtmTypeConstant;
|
import com.vci.ubcs.code.constant.MdmEnumIdConstant;
|
|
/**
|
* Description: 系统集成接口的认证
|
*
|
* @author: LiHang
|
* @date: Created on 2022/3/7
|
*/
|
@VciBtmType(name = MdmBtmTypeConstant.SYS_INT_AUTHORITY,text = "系统集成接口的认证",lifeCycle = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE,startStatus = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE)
|
@TableName("PL_CODE_SYSINTAUTHORITY")
|
public class SysIntAuthorityDO extends BaseModel {
|
|
/**
|
* 序列化
|
*/
|
private static final long serialVersionUID = 1144067849291882385L;
|
|
/**
|
* 认证编号
|
*/
|
@Column(columnDefinition = "认证编号")
|
private String id;
|
|
/**
|
* 认证名称
|
*/
|
@Column(columnDefinition = "认证名称")
|
private String name;
|
|
/**
|
* 系统描述
|
*/
|
@Column(columnDefinition = "认证描述")
|
private String description;
|
|
/**
|
* 认证方式
|
*/
|
@Column(columnDefinition = "认证方式",nullable = false)
|
@VciUseEnum(value = MdmEnumIdConstant.SYS_INTEGRATION_AUTHORITY_TYPE,showTextField = "typeText")
|
private String type;
|
|
/**
|
* 认证方式显示文本
|
*/
|
@Transient()
|
private String typeText;
|
|
/**
|
* 验证用户
|
*/
|
@Column(columnDefinition = "验证用户")
|
private String userAccount;
|
|
/**
|
* 验证密码
|
*/
|
@Column(columnDefinition = "验证密码")
|
private String userCode;
|
|
/**
|
* 验证令牌
|
*/
|
@Column(columnDefinition = "验证令牌")
|
private String token;
|
|
@Override
|
public String getId() {
|
return id;
|
}
|
|
@Override
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
@Override
|
public String getName() {
|
return name;
|
}
|
|
@Override
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
@Override
|
public String getDescription() {
|
return description;
|
}
|
|
@Override
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getTypeText() {
|
return typeText;
|
}
|
|
public void setTypeText(String typeText) {
|
this.typeText = typeText;
|
}
|
|
public String getUserAccount() {
|
return userAccount;
|
}
|
|
public void setUserAccount(String userAccount) {
|
this.userAccount = userAccount;
|
}
|
|
public String getUserCode() {
|
return userCode;
|
}
|
|
public void setUserCode(String userCode) {
|
this.userCode = userCode;
|
}
|
|
public String getToken() {
|
return token;
|
}
|
|
public void setToken(String token) {
|
this.token = token;
|
}
|
|
@Override
|
public String toString() {
|
return "SysIntegrationAuthorityDO{" +
|
"id='" + id + '\'' +
|
", name='" + name + '\'' +
|
", description='" + description + '\'' +
|
", type='" + type + '\'' +
|
", typeText='" + typeText + '\'' +
|
", userAccount='" + userAccount + '\'' +
|
", userCode='" + userCode + '\'' +
|
", token='" + token + '\'' +
|
'}' + super.toString();
|
}
|
}
|