You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/branch_zyx/InOrder.java

63 lines
2.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.lingnan.supermarket.dto; // 声明当前类所在的包
import java.util.Date; // 导入Date类尽管在此类中没有直接使用
// 定义进货订单类InOrder
public class InOrder {
private String iNumber; // 进货订单编号
private Float allInPrice; // 总进货价格
private String inDate; // 进货日期
private String principal; // 负责人
private int status; // 订单状态
private int delmark; // 删除标记
// getiNumber方法用于获取进货订单编号
public String getiNumber() {
return iNumber; // 返回进货订单编号
}
// setiNumber方法用于设置进货订单编号
public void setiNumber(String iNumber) {
this.iNumber = iNumber; // 将参数iNumber赋值给成员变量iNumber
}
// getAllInPrice方法用于获取总进货价格
public Float getAllInPrice() {
return allInPrice; // 返回总进货价格
}
// setAllInPrice方法用于设置总进货价格
public void setAllInPrice(Float allInPrice) {
this.allInPrice = allInPrice; // 将参数allInPrice赋值给成员变量allInPrice
}
// getInDate方法用于获取进货日期
public String getInDate() {
return inDate; // 返回进货日期
}
// setInDate方法用于设置进货日期
public void setInDate(String inDate) {
this.inDate = inDate; // 将参数inDate赋值给成员变量inDate
}
// getPrincipal方法用于获取负责人
public String getPrincipal() {
return principal; // 返回负责人
}
// setPrincipal方法用于设置负责人
public void setPrincipal(String principal) {
this.principal = principal; // 将参数principal赋值给成员变量principal
}
// getStatus方法用于获取订单状态
public int getStatus() {
return status; // 返回订单状态
}
// setStatus方法用于设置订单状态
public void setStatus(int status) {
this.status = status; // 将参数status赋值给成员变量status
}
// getDelmark方法用于获取删除标记
public int getDelmark() {
return delmark; // 返回删除标记
}
// setDelmark方法用于设置删除标记
public void setDelmark(int delmark) {
this.delmark = delmark; // 将参数delmark赋值给成员变量delmark
}
}