2 Star 0 Fork 0

SmartFridge/fridge_terminal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
food.h 896 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef FOOD_H
#define FOOD_H
#include<QString>
#include<QDebug>
class Food
{
public:
Food();
long create_user;
long create_id;
QString name;
short type;
QString typeName;
QString typePic;
int shelf_time;
short unit;
QString unitName;
QString info;
QString alias;
QString pic;
friend QDebug operator << (QDebug os, Food food){
os << "(" << food.create_user << ", "
<< food.create_id << ", "
<< food.name << ", "
<< food.type << ", "
<< food.shelf_time << ", "
<< food.unit << ", "
<< food.info << ", "
<< food.alias << ", "
<< food.pic << ")";
return os;
}
};
#endif // FOOD_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/smart-ice-box/fridge_terminal.git
git@gitee.com:smart-ice-box/fridge_terminal.git
smart-ice-box
fridge_terminal
fridge_terminal
master

搜索帮助