完善实体类。另外为啥这个.idea文件隐藏了还是会被提交到git上面嘞,真玄学
This commit is contained in:
parent
2b19fc6f62
commit
2023f3b1be
@ -8,7 +8,6 @@ public class Merchants {
|
||||
private Long id;//商家编号
|
||||
private String name;//店铺名字
|
||||
private String address;//店铺地址
|
||||
private String description;//店铺描述
|
||||
private Indent IndentID;//外键,订单ID
|
||||
|
||||
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import lombok.Data;
|
||||
//用户类
|
||||
@Data
|
||||
public class Users {
|
||||
private Long id;
|
||||
private Long id;//用户ID
|
||||
private String name;//用户姓名
|
||||
private String phoneNumber;//用户联系方式
|
||||
private String address;//家庭住址
|
||||
|
@ -6,6 +6,9 @@ import lombok.Data;
|
||||
public class indentItem {
|
||||
private Long id;//菜品ID
|
||||
private String name;//菜品名字
|
||||
private Float price;//菜品价格
|
||||
private Float initialPrice;//菜品原价
|
||||
private Float discount;//折扣
|
||||
private Float finalPrice;//最终价格
|
||||
private String description;//菜品描述
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user