DPS/include/DIC/S_ProfileDataDAO.h

42 lines
1.3 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "DAO.h"
namespace DBPlatformSpace
{
/// S 型材库
class S_ProfileDataDAO : public dataDictionaryDAO
{
public:
int _code; ///<型材编码
string _gUID; ///<guid值用于表示唯一一条数据
string _imageFilePath; ///<型材示意图路径
string _necessaryParaNames; ///<必要参数名称列表,逗号分隔
string _necessaryParaValues; ///<必要参数值列表,逗号分隔
string _optionalParaNames; ///<非必要参数名称列表,逗号分隔
string _optionalParaValues; ///<非必要参数值列表,逗号分隔
string _standardGroupName; ///<型材所属标准组名称
string _subStandardGroupName; ///<型材所属子标准组名称
string _techType; ///<型材工艺类型
string _type; ///<型材类型
int _useCount; ///<引用计数
ODI S_ProfileDataDAO();
virtual ODI ~S_ProfileDataDAO();
ODI virtual Mapper* createMapper();
ODI static DAO * createObject();
static ODI ResultMsg FindAll(list<S_ProfileDataDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, S_ProfileDataDAO * &pnewdao);
static ResultMsg ODI FindByStandardGroupName(string standardGroupName, list<S_ProfileDataDAO*>&newlist);
static ResultMsg ODI FindBySubStandardGroupName(string subStandardGroupName, list<S_ProfileDataDAO*>&newlist);
static ResultMsg ODI FindByType(string type, list<S_ProfileDataDAO*>&newlist);
};
}