30 lines
640 B
C++
30 lines
640 B
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// 营运信息
|
|
class OperInfoDAO : public subDBDAO
|
|
{
|
|
public:
|
|
string _shipOwner; ///<船东公司
|
|
string _shipFlag; ///<船旗国_T
|
|
string _shipOperator; ///<管理公司
|
|
string _sigLetter; ///<船舶呼号
|
|
string _regPort; ///<船籍港
|
|
|
|
ODI OperInfoDAO();
|
|
ODI ~OperInfoDAO();
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
virtual ODI ResultMsg save(int commitType = COMMIT_T_IMMEDIATELY);
|
|
static ODI ResultMsg FindAll(OperInfoDAO* & pnewdao);
|
|
|
|
static ODI ResultMsg FindByID(int id, OperInfoDAO * &pnewdao);
|
|
};
|
|
}
|