📄 order.java
字号:
package com.eshop.dto;
public class Order {
int id = 0; //自动编号
int gid = 0; //货物编号
String username =""; //会员编号
int mount = 0; //货物数量
double price = 0.0; //货物单价
double totle=0.0; //总金额
String carryType = ""; //有的方式
String date = ""; //发货时间
String enforce = ""; //是否执行
public int getId(){
return this.id;
}
public void setId(int id){
this.id = id;
}
public int getGid(){
return this.gid;
}
public void setGid(int gid){
this.gid = gid;
}
public String getuserName(){
return this.username;
}
public void setuserName(String username){
this.username = username;
}
public int getMount(){
return this.mount;
}
public void setMount(int mount){
this.mount = mount;
}
public void setPrice(double price){
this.price = price;
}
public double getPrice(){
return this.price;
}
public void setTotle(double totle){
this.totle = totle;
}
public double getTotle(){
return this.totle;
}
public String getCarryType(){
return this.carryType;
}
public void setCarryType(String carryType){
this.carryType = carryType;
}
public String getDate(){
return this.date;
}
public void setDate(String date){
this.date = date;
}
public String getEnforce(){
return this.enforce;
}
public void setEnforce(String enforce){
this.enforce = enforce;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -