+ * + *
+ * + * @author fit2cloud + * @since 2023-09-22 + */ +@TableName("xpack_share") +public class XpackShare implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private Long id; + + /** + * 创建人 + */ + private Long creator; + + /** + * 创建时间 + */ + private Long time; + + /** + * 过期时间 + */ + private Long exp; + + /** + * uuid + */ + private String uuid; + + /** + * 密码 + */ + private String pwd; + + /** + * 资源ID + */ + private Long resourceId; + + /** + * 组织ID + */ + private Long oid; + + /** + * 业务类型 + */ + private Integer type; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCreator() { + return creator; + } + + public void setCreator(Long creator) { + this.creator = creator; + } + + public Long getTime() { + return time; + } + + public void setTime(Long time) { + this.time = time; + } + + public Long getExp() { + return exp; + } + + public void setExp(Long exp) { + this.exp = exp; + } + + public String getUuid() { + return uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getPwd() { + return pwd; + } + + public void setPwd(String pwd) { + this.pwd = pwd; + } + + public Long getResourceId() { + return resourceId; + } + + public void setResourceId(Long resourceId) { + this.resourceId = resourceId; + } + + public Long getOid() { + return oid; + } + + public void setOid(Long oid) { + this.oid = oid; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + return "XpackShare{" + + "id = " + id + + ", creator = " + creator + + ", time = " + time + + ", exp = " + exp + + ", uuid = " + uuid + + ", pwd = " + pwd + + ", resourceId = " + resourceId + + ", oid = " + oid + + ", type = " + type + + "}"; + } +} diff --git a/core/core-backend/src/main/java/io/dataease/share/dao/auto/mapper/XpackShareMapper.java b/core/core-backend/src/main/java/io/dataease/share/dao/auto/mapper/XpackShareMapper.java new file mode 100644 index 0000000000..488a2acc43 --- /dev/null +++ b/core/core-backend/src/main/java/io/dataease/share/dao/auto/mapper/XpackShareMapper.java @@ -0,0 +1,18 @@ +package io.dataease.share.dao.auto.mapper; + +import io.dataease.share.dao.auto.entity.XpackShare; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + *+ * Mapper 接口 + *
+ * + * @author fit2cloud + * @since 2023-09-22 + */ +@Mapper +public interface XpackShareMapper extends BaseMapper