All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hisp.dhis.model.OrgUnitGroup Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package org.hisp.dhis.model;

import java.util.ArrayList;
import java.util.List;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import com.fasterxml.jackson.annotation.JsonProperty;

@Getter
@Setter
@NoArgsConstructor
public class OrgUnitGroup
    extends NameableObject
{
    @JsonProperty( "organisationUnits" )
    private List orgUnits = new ArrayList<>();

    public OrgUnitGroup( String id, String name )
    {
        this.id = id;
        this.name = name;
    }

    public OrgUnitGroup( String id, String name, String shortName )
    {
        this( id, name );
        this.shortName = shortName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy