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 java.util.Date ; // 导入Date类, 用于处理日期和时间
import com.lingnan.supermarket.dto.base.BsDomain ; // 导入基础域类BsDomain
// 定义存储记录类StorageRecord, 继承自BsDomain
public class StorageRecord extends BsDomain {
private String theNumber ; // 存储记录编号
private String cDate ; // 记录创建日期
private int num ; // 存储数量
private String execute ; // 执行操作(可能是执行人或者操作类型)
// getTheNumber方法, 用于获取存储记录编号
public String getTheNumber ( ) {
return theNumber ; // 返回存储记录编号
}
// setTheNumber方法, 用于设置存储记录编号
public void setTheNumber ( String theNumber ) {
this . theNumber = theNumber ; // 将参数theNumber赋值给成员变量theNumber
}
// getcDate方法, 用于获取记录创建日期
public String getcDate ( ) {
return cDate ; // 返回记录创建日期
}
// setcDate方法, 用于设置记录创建日期
public void setcDate ( String cDate ) {
this . cDate = cDate ; // 将参数cDate赋值给成员变量cDate
}
// getNum方法, 用于获取存储数量
public int getNum ( ) {
return num ; // 返回存储数量
}
// setNum方法, 用于设置存储数量
public void setNum ( int num ) {
this . num = num ; // 将参数num赋值给成员变量num
}
// getExecute方法, 用于获取执行操作
public String getExecute ( ) {
return execute ; // 返回执行操作
}
// setExecute方法, 用于设置执行操作
public void setExecute ( String execute ) {
this . execute = execute ; // 将参数execute赋值给成员变量execute
}
}