@@ -22,20 +22,20 @@ import (
|
||||
)
|
||||
|
||||
type Obligation struct {
|
||||
ID gid.GID `json:"id"`
|
||||
OrganizationID gid.GID `json:"organizationId"`
|
||||
Area *string `json:"area"`
|
||||
Source *string `json:"source"`
|
||||
Requirement *string `json:"requirement"`
|
||||
ActionsToBeImplemented *string `json:"actionsToBeImplemented"`
|
||||
Regulator *string `json:"regulator"`
|
||||
OwnerID gid.GID `json:"ownerId"`
|
||||
LastReviewDate *time.Time `json:"lastReviewDate"`
|
||||
DueDate *time.Time `json:"dueDate"`
|
||||
ID gid.GID `json:"id"`
|
||||
OrganizationID gid.GID `json:"organizationId"`
|
||||
Area *string `json:"area"`
|
||||
Source *string `json:"source"`
|
||||
Requirement *string `json:"requirement"`
|
||||
ActionsToBeImplemented *string `json:"actionsToBeImplemented"`
|
||||
Regulator *string `json:"regulator"`
|
||||
OwnerID gid.GID `json:"ownerId"`
|
||||
LastReviewDate *time.Time `json:"lastReviewDate"`
|
||||
DueDate *time.Time `json:"dueDate"`
|
||||
Status coredata.ObligationStatus `json:"status"`
|
||||
Type coredata.ObligationType `json:"type"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
|
||||
func NewObligation(o *coredata.Obligation) *Obligation {
|
||||
|
||||
Reference in New Issue
Block a user