Sat, 06 Jan 2024 20:32:56 +0100
Added tag v1.2.2 for changeset 238de141d189
universe@235 | 1 | /* |
universe@235 | 2 | * Copyright 2021 Mike Becker. All rights reserved. |
universe@235 | 3 | * |
universe@235 | 4 | * Redistribution and use in source and binary forms, with or without |
universe@235 | 5 | * modification, are permitted provided that the following conditions are met: |
universe@235 | 6 | * |
universe@235 | 7 | * 1. Redistributions of source code must retain the above copyright |
universe@235 | 8 | * notice, this list of conditions and the following disclaimer. |
universe@235 | 9 | * |
universe@235 | 10 | * 2. Redistributions in binary form must reproduce the above copyright |
universe@235 | 11 | * notice, this list of conditions and the following disclaimer in the |
universe@235 | 12 | * documentation and/or other materials provided with the distribution. |
universe@235 | 13 | * |
universe@235 | 14 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
universe@235 | 15 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
universe@235 | 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
universe@235 | 17 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
universe@235 | 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
universe@235 | 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
universe@235 | 20 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
universe@235 | 21 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
universe@235 | 22 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
universe@235 | 23 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
universe@235 | 24 | */ |
universe@235 | 25 | |
universe@235 | 26 | package de.uapcore.lightpit.entities |
universe@235 | 27 | |
universe@235 | 28 | import de.uapcore.lightpit.types.IssueCategory |
universe@235 | 29 | import de.uapcore.lightpit.types.IssueHistoryType |
universe@235 | 30 | import de.uapcore.lightpit.types.IssueStatus |
universe@235 | 31 | import java.sql.Date |
universe@235 | 32 | import java.sql.Timestamp |
universe@235 | 33 | |
universe@242 | 34 | class IssueHistoryEntry( |
universe@242 | 35 | val subject: String, |
universe@242 | 36 | val time: Timestamp, |
universe@242 | 37 | val type: IssueHistoryType, |
universe@242 | 38 | val currentAssignee: String?, |
universe@242 | 39 | val issueid: Int, |
universe@235 | 40 | val component: String, |
universe@235 | 41 | val status: IssueStatus, |
universe@235 | 42 | val category: IssueCategory, |
universe@235 | 43 | val description: String, |
universe@235 | 44 | val assignee: String, |
universe@235 | 45 | val eta: Date?, |
universe@235 | 46 | val affected: String, |
universe@235 | 47 | val resolved: String, |
universe@235 | 48 | ) |
universe@235 | 49 | |
universe@242 | 50 | class IssueCommentHistoryEntry( |
universe@242 | 51 | val subject: String, |
universe@241 | 52 | val time: Timestamp, |
universe@241 | 53 | val type: IssueHistoryType, |
universe@241 | 54 | val currentAssignee: String?, |
universe@242 | 55 | val issueid: Int, |
universe@242 | 56 | val commentid: Int, |
universe@242 | 57 | val comment: String, |
universe@241 | 58 | ) |