domain

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ 56x.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.NewError(
		"err_state", "state error")

	ErrPwdCannotSame = domain.NewError(
		"Err_Pwd_Can_not_Same", "新密码不能与旧密码相同")

	ErrPwdOldPwdNotRight = domain.NewError(
		"Err_Pwd_Pld_Pwd_Not_Right", "原密码不正确")
)

Functions

This section is empty.

Types

type IAggregateRoot

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

聚合根

type IDomain

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

领域对象

type IValueObject

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

值对象

Directories

Path Synopsis
*
*
*
*
*
*
interface
ad
*
*
*
*
*
*
*
item
*
*
job
member
*
*
*
*
*
*
*
payment
Package payment 支付单,不限于订单,可以生成支付单,即一个支付请求
Package payment 支付单,不限于订单,可以生成支付单,即一个支付请求
*
*
*
*
*
wallet
create for src 29/11/2017 ( jarrysix@gmail.com )
create for src 29/11/2017 ( jarrysix@gmail.com )
*
*
*
*
create for src 30/11/2017 ( jarrysix@gmail.com )
create for src 30/11/2017 ( jarrysix@gmail.com )
shop
*
*
user
*
*
*
notify
*
*
*
*
*
*
*
*
*
*

Jump to

Keyboard shortcuts

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