商家实体类加了点东西,之前漏了
This commit is contained in:
		@@ -19,3 +19,7 @@
 | 
				
			|||||||
  - `update`一下远端项目
 | 
					  - `update`一下远端项目
 | 
				
			||||||
  - `push`代码
 | 
					  - `push`代码
 | 
				
			||||||
- 我好菜。。。
 | 
					- 我好菜。。。
 | 
				
			||||||
 | 
					# 20230327
 | 
				
			||||||
 | 
					- 完善了一下实体类,发现商家那一部分漏了一点东西,给它补上了
 | 
				
			||||||
 | 
					- 另外就是为什么`.idea`文件我已经取消提交了,为啥本地的`commit`里面还会有有啊……无语了
 | 
				
			||||||
 | 
					- 是不是跟`git`八字不合。。。
 | 
				
			||||||
@@ -9,5 +9,6 @@ public class Merchants {
 | 
				
			|||||||
    private String name;//店铺名字
 | 
					    private String name;//店铺名字
 | 
				
			||||||
    private String address;//店铺地址
 | 
					    private String address;//店铺地址
 | 
				
			||||||
    private String description;//店铺描述
 | 
					    private String description;//店铺描述
 | 
				
			||||||
 | 
					    private String phoneNumber;//商家联系方式
 | 
				
			||||||
    private Indent IndentID;//外键,订单ID
 | 
					    private Indent IndentID;//外键,订单ID
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
package entities;
 | 
					package entities;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import lombok.Data;
 | 
					import lombok.Data;
 | 
				
			||||||
 | 
					//订单中的菜品
 | 
				
			||||||
@Data
 | 
					@Data
 | 
				
			||||||
public class indentItem {
 | 
					public class indentItem {
 | 
				
			||||||
    private Long id;//菜品ID
 | 
					    private Long id;//菜品ID
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
package org.example;
 | 
					package example;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public class App {
 | 
					public class App {
 | 
				
			||||||
    public static void main(String[] args) {
 | 
					    public static void main(String[] args) {
 | 
				
			||||||
		Reference in New Issue
	
	Block a user