/*
 *  Copyright 2010 Wholly Grails.
 *
 *  This file is part of the Three Ledger Core (TLC) software
 *  from Wholly Grails.
 *
 *  TLC is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  TLC is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with TLC.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.whollygrails.tlc.obj

import com.whollygrails.tlc.books.CodeElement
import com.whollygrails.tlc.books.CodeElementValue
import com.whollygrails.tlc.books.Period
import com.whollygrails.tlc.books.ProfitReportFormat

class IncomeReport {

    ProfitReportFormat format
    Period period
    CodeElementValue element2
    CodeElementValue element3
    CodeElementValue element4
    CodeElementValue element5
    CodeElementValue element6
    CodeElementValue element7
    CodeElementValue element8
    CodeElement grouping1
    CodeElement grouping2
    CodeElement grouping3
    Boolean detailed = false

    static constraints = {
        element2(nullable: true)
        element3(nullable: true)
        element4(nullable: true)
        element5(nullable: true)
        element6(nullable: true)
        element7(nullable: true)
        element8(nullable: true)
        grouping1(nullable: true)
        grouping2(nullable: true)
        grouping3(nullable: true)
    }
}
