domain

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2016 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ z3q.net.
  • name : error
  • author : jarryliu
  • date : 2016-02-27 20:03
  • description :
  • history :

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrState *domain.DomainError = domain.NewDomainError(
		"err_state", "state error")
)

Functions

This section is empty.

Types

type IAggregateRoot

type IAggregateRoot interface {
	// 获取聚合根编号
	GetAggregateRootId() int
}

聚合根

type IDomain

type IDomain interface {
	// 获取领域对象编号
	GetDomainId() int
}

领域对象

type IValueObject

type IValueObject interface {
	Equal(interface{}) bool
}

值对象

Directories

Path Synopsis
*
*
*
*
interface
ad
*
*
*
*
enum
*
*
member
*
*
*
*
*
*
*
sale
*
*
*
*
*
*
*
mss
*
*
user
*
*
*
*
*
*
*

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL