From 868fc4da14f66b2e80a4f6cf14c6391072c1b684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Sim=C3=A3o?= Date: Thu, 30 Oct 2008 15:22:04 +0000 Subject: [PATCH] git-svn-id: https://svn.coded.pt/svn/SIPRP@796 bb69d46d-e84e-40c8-a05a-06db0d633741 --- trunk/common/src/SIPRPMap.map.xml | 1 + .../siprp/database/cayenne/objects/auto/_HsRelatorio.java | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/trunk/common/src/SIPRPMap.map.xml b/trunk/common/src/SIPRPMap.map.xml index bbb9bec1..ecd07a30 100644 --- a/trunk/common/src/SIPRPMap.map.xml +++ b/trunk/common/src/SIPRPMap.map.xml @@ -903,6 +903,7 @@ + diff --git a/trunk/common/src/siprp/database/cayenne/objects/auto/_HsRelatorio.java b/trunk/common/src/siprp/database/cayenne/objects/auto/_HsRelatorio.java index f2f90dbc..3d6b4f3e 100644 --- a/trunk/common/src/siprp/database/cayenne/objects/auto/_HsRelatorio.java +++ b/trunk/common/src/siprp/database/cayenne/objects/auto/_HsRelatorio.java @@ -17,6 +17,7 @@ public abstract class _HsRelatorio extends BaseObject { public static final String DATA_PROPERTY = "data"; public static final String DELETED_DATE_PROPERTY = "deletedDate"; + public static final String ID_PROPERTY = "id"; public static final String IS_SUBMETIDO_PROPERTY = "isSubmetido"; public static final String HS_RELATORIO_RISCO_ARRAY_PROPERTY = "hsRelatorioRiscoArray"; public static final String TO_HS_MARCACOES_ESTABELECIMENTO_PROPERTY = "toHsMarcacoesEstabelecimento"; @@ -37,6 +38,13 @@ public abstract class _HsRelatorio extends BaseObject { return (Date)readProperty("deletedDate"); } + public void setId(Integer id) { + writeProperty("id", id); + } + public Integer getId() { + return (Integer)readProperty("id"); + } + public void setIsSubmetido(Date isSubmetido) { writeProperty("isSubmetido", isSubmetido); }