From 5d652a7d6a901626549429a89c4e16f96be6398e Mon Sep 17 00:00:00 2001 From: Frede Hundewadt Date: Tue, 21 Mar 2023 07:20:37 +0100 Subject: [PATCH] update headers --- LifeCycle.cs | 69 ++++++++++---------- Properties/AssemblyInfo.cs | 4 +- TimeFrame.cs | 65 +++++++++---------- VatInfoDto.cs | 127 +++++++++++++++++++------------------ VatState.cs | 78 ++++++++++++----------- VatStateInfo.cs | 81 +++++++++++++++-------- 6 files changed, 232 insertions(+), 192 deletions(-) diff --git a/LifeCycle.cs b/LifeCycle.cs index f04e520..9b93f1d 100644 --- a/LifeCycle.cs +++ b/LifeCycle.cs @@ -1,43 +1,44 @@ // *********************************************************************** -// Assembly : FCS.Lib.Virk -// Author : FH -// Created : 03-31-2022 -// -// Last Modified By : FH -// Last Modified On : 03-31-2022 +// Assembly : FCS.Lib.Common +// Author : fhdk +// Created : 2023 01 19 11:41 +// +// Last Modified By: fhdk +// Last Modified On : 2023 03 14 09:16 // *********************************************************************** -// -// Copyright (C) 2022 FCS Frede's Computer Services. -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program 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 Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see [https://www.gnu.org/licenses] +// +// Copyright (C) 2023-2023 FCS Frede's Computer Services. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see [https://www.gnu.org/licenses] // // // *********************************************************************** -namespace FCS.Lib.Common + +namespace FCS.Lib.Common; + +/// +/// Class LifeCycle +/// +public class LifeCycle { /// - /// Class LifeCycle + /// Cycle last updated /// - public class LifeCycle - { - /// - /// Cycle last updated - /// - public string LastUpdate { get; set; } = ""; - /// - /// Time Frame for life cycle - /// - /// - public TimeFrame TimeFrame { get; set; } = new (); - } + public string LastUpdate { get; set; } = ""; + + /// + /// Time Frame for life cycle + /// + /// + public TimeFrame TimeFrame { get; set; } = new(); } \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index e5fced2..a0a868d 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -17,5 +17,5 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: Guid("8D850197-78DB-4D16-A91F-E5BB6E8880A7")] -[assembly: AssemblyVersion("1.0.23023.0820")] -[assembly: AssemblyFileVersion("1.0.23023.0820")] \ No newline at end of file +[assembly: AssemblyVersion("1.0.23077.1334")] +[assembly: AssemblyFileVersion("1.0.23077.1334")] \ No newline at end of file diff --git a/TimeFrame.cs b/TimeFrame.cs index 08b8b0a..ab895c1 100644 --- a/TimeFrame.cs +++ b/TimeFrame.cs @@ -1,42 +1,43 @@ // *********************************************************************** -// Assembly : FCS.Lib.Virk -// Author : FH -// Created : 01-01-2022 -// -// Last Modified By : FH -// Last Modified On : 02-24-2022 +// Assembly : FCS.Lib.Common +// Author : fhdk +// Created : 2022 12 17 13:33 +// +// Last Modified By: fhdk +// Last Modified On : 2023 03 14 09:16 // *********************************************************************** // -// Copyright (C) 2022 FCS Frede's Computer Services. -// This program is free software: you can redistribute it and/or modify -// it under the terms of the Affero GNU General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program 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 -// Affero GNU General Public License for more details. -// -// You should have received a copy of the Affero GNU General Public License -// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html] +// Copyright (C) 2022-2023 FCS Frede's Computer Services. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see [https://www.gnu.org/licenses] // // // *********************************************************************** -namespace FCS.Lib.Common + +namespace FCS.Lib.Common; + +/// +/// Class TimeFrame +/// +public class TimeFrame { /// - /// Class TimeFrame + /// From date /// - public class TimeFrame - { - /// - /// From date - /// - public string StartDate { get; set; } = ""; - /// - /// To date - /// - public string EndDate { get; set; } = ""; - } + public string StartDate { get; set; } = ""; + + /// + /// To date + /// + public string EndDate { get; set; } = ""; } \ No newline at end of file diff --git a/VatInfoDto.cs b/VatInfoDto.cs index 96333d0..7b1a3f9 100644 --- a/VatInfoDto.cs +++ b/VatInfoDto.cs @@ -1,73 +1,80 @@ // *********************************************************************** -// Assembly : FCS.Lib.Virk -// Author : FH -// Created : 01-01-2022 -// -// Last Modified By : FH -// Last Modified On : 02-24-2022 +// Assembly : FCS.Lib.Common +// Author : fhdk +// Created : 2022 12 17 13:33 +// +// Last Modified By: fhdk +// Last Modified On : 2023 03 14 09:16 // *********************************************************************** // -// Copyright (C) 2022 FCS Frede's Computer Services. -// This program is free software: you can redistribute it and/or modify -// it under the terms of the Affero GNU General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program 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 -// Affero GNU General Public License for more details. -// -// You should have received a copy of the Affero GNU General Public License -// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html] +// Copyright (C) 2022-2023 FCS Frede's Computer Services. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see [https://www.gnu.org/licenses] // // // *********************************************************************** using System.Collections.Generic; -namespace FCS.Lib.Common +namespace FCS.Lib.Common; + +/// +/// Class VatInfoDto +/// +public class VatInfoDto { /// - /// Class VatInfoDto + /// Entity vat number /// - public class VatInfoDto - { - /// - /// Entity vat number - /// - public string VatNumber { get; set; } = ""; - /// - /// Entity name - /// - public string Name { get; set; } = ""; - /// - /// Entity co-location name - /// - public string CoName { get; set; } = ""; - /// - /// Entity address - /// - public string Address { get; set; } = ""; - /// - /// Entity City - /// - public string City { get; set; } = ""; - /// - /// Entity postal code - /// - public string ZipCode { get; set; } = ""; - /// - /// List of entity states - /// - public List States { get; set; } = new(); - /// - /// List of entity life cycles - /// - public List LifeCycles { get; set; } = new(); - /// - /// Registrar request date - /// - public string RequestDate { get; set; } - } + public string VatNumber { get; set; } = ""; + + /// + /// Entity name + /// + public string Name { get; set; } = ""; + + /// + /// Entity co-location name + /// + public string CoName { get; set; } = ""; + + /// + /// Entity address + /// + public string Address { get; set; } = ""; + + /// + /// Entity City + /// + public string City { get; set; } = ""; + + /// + /// Entity postal code + /// + public string ZipCode { get; set; } = ""; + + /// + /// List of entity states + /// + public List States { get; set; } = new(); + + /// + /// List of entity life cycles + /// + public List LifeCycles { get; set; } = new(); + + /// + /// Registrar request date + /// + public string RequestDate { get; set; } } \ No newline at end of file diff --git a/VatState.cs b/VatState.cs index eaf61a0..27bedec 100644 --- a/VatState.cs +++ b/VatState.cs @@ -1,47 +1,49 @@ // *********************************************************************** -// Assembly : FCS.Lib.Virk -// Author : FH -// Created : 01-01-2022 -// -// Last Modified By : FH -// Last Modified On : 02-24-2022 +// Assembly : FCS.Lib.Common +// Author : fhdk +// Created : 2022 12 17 13:33 +// +// Last Modified By: fhdk +// Last Modified On : 2023 03 14 09:16 // *********************************************************************** -// -// Copyright (C) 2022 FCS Frede's Computer Services. -// This program is free software: you can redistribute it and/or modify -// it under the terms of the Affero GNU General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program 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 -// Affero GNU General Public License for more details. -// -// You should have received a copy of the Affero GNU General Public License -// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html] +// +// Copyright (C) 2022-2023 FCS Frede's Computer Services. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see [https://www.gnu.org/licenses] // // // *********************************************************************** -namespace FCS.Lib.Common + +namespace FCS.Lib.Common; + +/// +/// Class VatState +/// +public class VatState { /// - /// Class VatState + /// Last update of vatState /// - public class VatState - { - /// - /// Last update of vatState - /// - public string LastUpdate { get; set; } = ""; - /// - /// The state - /// - public string State { get; set; } = ""; - /// - /// Time frame - /// - /// - public TimeFrame TimeFrame { get; set; } = new(); - } + public string LastUpdate { get; set; } = ""; + + /// + /// The state + /// + public string State { get; set; } = ""; + + /// + /// Time frame + /// + /// + public TimeFrame TimeFrame { get; set; } = new(); } \ No newline at end of file diff --git a/VatStateInfo.cs b/VatStateInfo.cs index 8c60cfb..ad08084 100644 --- a/VatStateInfo.cs +++ b/VatStateInfo.cs @@ -1,31 +1,60 @@ -using System; +// *********************************************************************** +// Assembly : FCS.Lib.Common +// Author : fhdk +// Created : 2022 12 17 13:33 +// +// Last Modified By: fhdk +// Last Modified On : 2023 03 14 09:16 +// *********************************************************************** +// +// Copyright (C) 2022-2023 FCS Frede's Computer Services. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see [https://www.gnu.org/licenses] +// +// +// *********************************************************************** -namespace FCS.Lib.Common +using System; + +namespace FCS.Lib.Common; + +/// +/// Class VatStateInfo +/// +public class VatStateInfo { /// - /// Class VatStateInfo + /// Business entity name /// - public class VatStateInfo - { - /// - /// Business entity name - /// - public string Name { get; set; } = ""; - /// - /// Business entity vat number - /// - public string VatNumber { get; set; } = ""; - /// - /// Flag indicating valid format - /// - public bool VatNumberValid { get; set; } - /// - /// Flag indicating if entity is out of business - /// - public bool HasFolded { get; set; } - /// - /// Request date - /// - public DateTime RequestDate { get; set; } - } + public string Name { get; set; } = ""; + + /// + /// Business entity vat number + /// + public string VatNumber { get; set; } = ""; + + /// + /// Flag indicating valid format + /// + public bool VatNumberValid { get; set; } + + /// + /// Flag indicating if entity is out of business + /// + public bool HasFolded { get; set; } + + /// + /// Request date + /// + public DateTime RequestDate { get; set; } } \ No newline at end of file