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.
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 com.lingnan.supermarket.dto.base.BsDomain ; // 导入基础域类BsDomain
// 定义进货记录类InRecord, 继承自BsDomain
public class InRecord extends BsDomain {
private String iNumber ; // 进货编号
private int sum ; // 进货数量
private Float inPrice ; // 进货单价
// getiNumber方法, 用于获取进货编号
public String getiNumber ( ) {
return iNumber ; // 返回进货编号
}
// setiNumber方法, 用于设置进货编号
public void setiNumber ( String iNumber ) {
this . iNumber = iNumber ; // 将参数iNumber赋值给成员变量iNumber
}
// getSum方法, 用于获取进货数量
public int getSum ( ) {
return sum ; // 返回进货数量
}
// setSum方法, 用于设置进货数量
public void setSum ( int sum ) {
this . sum = sum ; // 将参数sum赋值给成员变量sum
}
// getInPrice方法, 用于获取进货单价
public Float getInPrice ( ) {
return inPrice ; // 返回进货单价
}
// setInPrice方法, 用于设置进货单价
public void setInPrice ( Float inPrice ) {
this . inPrice = inPrice ; // 将参数inPrice赋值给成员变量inPrice
}
}