|
|
@@ -0,0 +1,115 @@
|
|
|
+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;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 车型查询配置信息
|
|
|
+ * @TableName sys_query_vehicle_config
|
|
|
+ */
|
|
|
+@TableName(value ="sys_query_vehicle_config")
|
|
|
+@Data
|
|
|
+public class SysQueryVehicleConfig implements Serializable {
|
|
|
+ /**
|
|
|
+ * id 主键
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 保险公司id
|
|
|
+ */
|
|
|
+ @TableField(value = "company_id")
|
|
|
+ private String companyId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 保险公司名称
|
|
|
+ */
|
|
|
+ @TableField(value = "company_name")
|
|
|
+ private String companyName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 请求地址
|
|
|
+ */
|
|
|
+ @TableField(value = "url")
|
|
|
+ private String url;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否开启 0 开启 1 未开启
|
|
|
+ */
|
|
|
+ @TableField(value = "enabled")
|
|
|
+ private Integer enabled;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 保险公司核心用户名
|
|
|
+ */
|
|
|
+ @TableField(value = "username")
|
|
|
+ private String username;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 保险公司核心密码
|
|
|
+ */
|
|
|
+ @TableField(value = "password")
|
|
|
+ private String password;
|
|
|
+
|
|
|
+ @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;
|
|
|
+ }
|
|
|
+ SysQueryVehicleConfig other = (SysQueryVehicleConfig) that;
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
+ && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
|
|
|
+ && (this.getCompanyName() == null ? other.getCompanyName() == null : this.getCompanyName().equals(other.getCompanyName()))
|
|
|
+ && (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
|
|
|
+ && (this.getEnabled() == null ? other.getEnabled() == null : this.getEnabled().equals(other.getEnabled()))
|
|
|
+ && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
|
|
|
+ && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()));
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int hashCode() {
|
|
|
+ final int prime = 31;
|
|
|
+ int result = 1;
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
+ result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
|
|
|
+ result = prime * result + ((getCompanyName() == null) ? 0 : getCompanyName().hashCode());
|
|
|
+ result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
|
|
|
+ result = prime * result + ((getEnabled() == null) ? 0 : getEnabled().hashCode());
|
|
|
+ result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
|
|
|
+ result = prime * result + ((getPassword() == null) ? 0 : getPassword().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(", companyId=").append(companyId);
|
|
|
+ sb.append(", companyName=").append(companyName);
|
|
|
+ sb.append(", url=").append(url);
|
|
|
+ sb.append(", enabled=").append(enabled);
|
|
|
+ sb.append(", username=").append(username);
|
|
|
+ sb.append(", password=").append(password);
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
+ sb.append("]");
|
|
|
+ return sb.toString();
|
|
|
+ }
|
|
|
+}
|