Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NFeature ¶
type NFeature struct {
FeatureId int32 `xorm:"'feature_id' autoincr pk" json:"feature_id"`
FeatureName string `xorm:"'feature_name'" json:"feature_name"`
FeatureLabels string `xorm:"'feature_labels'" json:"feature_labels"`
FeatureTypes string `xorm:"'feature_types'" json:"feature_types"`
FeatureIntro string `xorm:"'feature_intro'" json:"feature_intro"`
FeatureOnBoot bool `xorm:"'feature_onboot'" json:"feature_onboot"`
FeatureReUse bool `xorm:"'feature_reuse'" json:"feature_reuse"`
}
func NewNFeature ¶
func NewNFeature() *NFeature
func (*NFeature) GetFeatureByFeatureId ¶
func (n *NFeature) GetFeatureByFeatureId(featureId int32) ([]NFeatureRelation, error)
func (*NFeature) GetFeatures ¶
type NFeatureRelation ¶
type NFeatureRelation struct {
NFeature `xorm:"extends"`
NProjectFeatures `xorm:"extends"`
}
type NFeatureVersion ¶
type NFeatureVersion struct {
FeatureVersionId int32 `xorm:"'feature_version_id' autoincr pk" json:"feature_version_id"`
FeatureId int32 `xorm:"'feature_id'" json:"feature_id"`
FeatureVersionName string `xorm:"'feature_version_name'" json:"feature_version_name"`
FeatureVersionConfig string `xorm:"'feature_version_config'" json:"feature_version_config"`
FeatureVersionIntro string `xorm:"'feature_version_intro'" json:"feature_version_intro"`
FeatureVersionCreateAt int64 `xorm:"'feature_version_create_at'" json:"feature_version_create_at"`
}
func NewNFeatureVersion ¶
func NewNFeatureVersion() *NFeatureVersion
func (*NFeatureVersion) GetFeatureVersion ¶
func (n *NFeatureVersion) GetFeatureVersion() ([]NFeatureVersion, error)
func (*NFeatureVersion) GetFeatureVersionByFeatureId ¶
func (n *NFeatureVersion) GetFeatureVersionByFeatureId(featureId int32) ([]NFeatureVersion, error)
type NProject ¶
type NProject struct {
ProjectId int32 `xorm:"'project_id' autoincr pk" json:"project_id"`
ProjectName string `xorm:"'project_name'" json:"project_name"`
ProjectContent string `xorm:"'project_content'" json:"project_content"`
}
func NewNProject ¶
func NewNProject() *NProject
func (*NProject) GetProjects ¶
type NProjectFeatures ¶
type NProjectFeatures struct {
ProjectFeaturesId int32 `xorm:"'project_features_id' autoincr pk" json:"project_features_id"`
ProjectId int32 `xorm:"'project_id'" json:"project_id"`
ProjectFeaturesName string `xorm:"'project_features_name'" json:"project_features_name"`
ProjectFeaturesType string `xorm:"'project_features_type'" json:"project_features_type"`
ProjectFeaturesConfig string `xorm:"'project_features_config'" json:"project_features_config"`
ProjectFeaturesInstallName string `xorm:"'project_features_install_name'" json:"project_features_install_name"`
ProjectFeaturesRoutePath string `xorm:"'project_features_route_path'" json:"project_features_route_path"`
ProjectFeaturesDeployTo int32 `xorm:"'project_features_deploy_to'" json:"project_features_deploy_to"`
ProjectFeaturesSortOrder int32 `xorm:"'project_features_sort_order'" json:"project_features_sort_order"`
FeatureId int32 `xorm:"'feature_id'" json:"feature_id"`
FeatureVersionId int32 `xorm:"'feature_version_id'" json:"feature_version_id"`
}
func NewNProjectFeatures ¶
func NewNProjectFeatures() *NProjectFeatures
func (*NProjectFeatures) GetProjectFeaturesByProjectId ¶
func (n *NProjectFeatures) GetProjectFeaturesByProjectId(projectId int32) ([]NProjectFeaturesRelation, error)
func (*NProjectFeatures) Insert ¶
func (n *NProjectFeatures) Insert(cond *NProjectFeatures) error
func (*NProjectFeatures) Update ¶
func (n *NProjectFeatures) Update(cond *NProjectFeatures) error
type NProjectFeaturesRelation ¶
type NProjectFeaturesRelation struct {
NProjectFeatures `xorm:"extends"`
NFeature `xorm:"extends"`
NFeatureVersion `xorm:"extends"`
}
Click to show internal directories.
Click to hide internal directories.