func (m ProjectEntity) MarshalJSON() ([]byte, error) {
	_parts := make([][]byte, 0, 2)
	aO0, err := swag.WriteJSON(m.Entity)
	if err != nil {
		return nil, err
	}
	_parts = append(_parts, aO0)
	aO1, err := swag.WriteJSON(m.ProjectCommon)
	if err != nil {
		return nil, err
	}
	_parts = append(_parts, aO1)
	return swag.ConcatJSON(_parts...), nil
}
MarshalJSON marshals this object to a JSON structure
package models
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
)
type ProjectEntity struct {
	Entity
	ProjectCommon
}
func (m *ProjectEntity) UnmarshalJSON(raw []byte) error {
	var aO0 Entity
	if err := swag.ReadJSON(raw, &aO0); err != nil {
		return err
	}
	m.Entity = aO0
	var aO1 ProjectCommon
	if err := swag.ReadJSON(raw, &aO1); err != nil {
		return err
	}
	m.ProjectCommon = aO1
	return nil
}