|
@@ -6,6 +6,9 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+import com.futu.course.course.domain.Course;
|
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
@@ -50,6 +53,8 @@ public class Shop implements Serializable {
|
|
|
*
|
|
|
*/
|
|
|
private Date createTime;
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<Course> courses;
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -72,7 +77,8 @@ public class Shop implements Serializable {
|
|
|
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
|
|
|
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
|
|
|
&& (this.getAdminUserId() == null ? other.getAdminUserId() == null : this.getAdminUserId().equals(other.getAdminUserId()))
|
|
|
- && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
|
|
|
+ && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
|
|
|
+ && (this.getCourses() == null ? other.getCourses() == null : this.getCreateTime().equals(other.getCourses()));
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -86,6 +92,7 @@ public class Shop implements Serializable {
|
|
|
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
|
|
|
result = prime * result + ((getAdminUserId() == null) ? 0 : getAdminUserId().hashCode());
|
|
|
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
|
|
|
+ result = prime * result + ((getCourses() == null) ? 0 : getCourses().hashCode());
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -102,6 +109,7 @@ public class Shop implements Serializable {
|
|
|
sb.append(", status=").append(status);
|
|
|
sb.append(", adminUserId=").append(adminUserId);
|
|
|
sb.append(", createTime=").append(createTime);
|
|
|
+ sb.append(", courses=").append(courses);
|
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
sb.append("]");
|
|
|
return sb.toString();
|