|
@@ -0,0 +1,158 @@
|
|
|
|
|
+package com.ydtech.modules.admin.model.po;
|
|
|
|
|
+
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+
|
|
|
|
|
+import java.io.Serializable;
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 系统表
|
|
|
|
|
+ * @TableName sys_sys
|
|
|
|
|
+ */
|
|
|
|
|
+@TableName(value ="sys_sys")
|
|
|
|
|
+@Data
|
|
|
|
|
+public class SysSys implements Serializable {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 主键
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
|
|
+ private Long id;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 系统名称
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "system_name")
|
|
|
|
|
+ private String systemName;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 系统编码
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "system_code")
|
|
|
|
|
+ private String systemCode;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 系统描述
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "system_remark")
|
|
|
|
|
+ private String systemRemark;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 系统状态 1. 启用 2 禁用
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "system_status")
|
|
|
|
|
+ private String systemStatus;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建时间
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "create_time")
|
|
|
|
|
+ private Date createTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建人
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "create_user")
|
|
|
|
|
+ private String createUser;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改时间
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_time")
|
|
|
|
|
+ private Date updateTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改人
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "update_user")
|
|
|
|
|
+ private String updateUser;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 系统前台显示图片
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableField(value = "system_url_id")
|
|
|
|
|
+ private String systemUrlId;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public boolean equals(Object that) {
|
|
|
|
|
+ if (this == that) {
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (that == null) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ SysSys other = (SysSys) that;
|
|
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
|
|
+ && (this.getSystemName() == null ? other.getSystemName() == null : this.getSystemName().equals(other.getSystemName()))
|
|
|
|
|
+ && (this.getSystemCode() == null ? other.getSystemCode() == null : this.getSystemCode().equals(other.getSystemCode()))
|
|
|
|
|
+ && (this.getSystemRemark() == null ? other.getSystemRemark() == null : this.getSystemRemark().equals(other.getSystemRemark()))
|
|
|
|
|
+ && (this.getSystemStatus() == null ? other.getSystemStatus() == null : this.getSystemStatus().equals(other.getSystemStatus()))
|
|
|
|
|
+ && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
|
|
|
|
|
+ && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
|
|
|
|
|
+ && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
|
|
|
|
|
+ && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()))
|
|
|
|
|
+ && (this.getSystemUrlId() == null ? other.getSystemUrlId() == null : this.getSystemUrlId().equals(other.getSystemUrlId()));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public int hashCode() {
|
|
|
|
|
+ final int prime = 31;
|
|
|
|
|
+ int result = 1;
|
|
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSystemName() == null) ? 0 : getSystemName().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSystemCode() == null) ? 0 : getSystemCode().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSystemRemark() == null) ? 0 : getSystemRemark().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSystemStatus() == null) ? 0 : getSystemStatus().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
|
|
|
|
|
+ result = prime * result + ((getSystemUrlId() == null) ? 0 : getSystemUrlId().hashCode());
|
|
|
|
|
+ return result;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public String toString() {
|
|
|
|
|
+ StringBuilder sb = new StringBuilder();
|
|
|
|
|
+ sb.append(getClass().getSimpleName());
|
|
|
|
|
+ sb.append(" [");
|
|
|
|
|
+ sb.append("Hash = ").append(hashCode());
|
|
|
|
|
+ sb.append(", id=").append(id);
|
|
|
|
|
+ sb.append(", systemName=").append(systemName);
|
|
|
|
|
+ sb.append(", systemCode=").append(systemCode);
|
|
|
|
|
+ sb.append(", systemRemark=").append(systemRemark);
|
|
|
|
|
+ sb.append(", systemStatus=").append(systemStatus);
|
|
|
|
|
+ sb.append(", createTime=").append(createTime);
|
|
|
|
|
+ sb.append(", createUser=").append(createUser);
|
|
|
|
|
+ sb.append(", updateTime=").append(updateTime);
|
|
|
|
|
+ sb.append(", updateUser=").append(updateUser);
|
|
|
|
|
+ sb.append(", systemUrlId=").append(systemUrlId);
|
|
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
|
|
+ sb.append("]");
|
|
|
|
|
+ return sb.toString();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public SysSys() {
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public SysSys(String systemName, String systemCode, String systemRemark, String systemStatus, Date createTime, String createUser, Date updateTime, String updateUser, String systemUrlId) {
|
|
|
|
|
+ this.systemName = systemName;
|
|
|
|
|
+ this.systemCode = systemCode;
|
|
|
|
|
+ this.systemRemark = systemRemark;
|
|
|
|
|
+ this.systemStatus = systemStatus;
|
|
|
|
|
+ this.createTime = createTime;
|
|
|
|
|
+ this.createUser = createUser;
|
|
|
|
|
+ this.updateTime = updateTime;
|
|
|
|
|
+ this.updateUser = updateUser;
|
|
|
|
|
+ this.systemUrlId = systemUrlId;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|