update headers

This commit is contained in:
Frede Hundewadt 2023-03-21 07:20:37 +01:00
parent d96f31f878
commit 5d652a7d6a
6 changed files with 232 additions and 192 deletions

View file

@ -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 file="LifeCycle.cs" company="FCS.Lib.Virk">
// 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 file="LifeCycle.cs" company="FCS">
// 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]
// </copyright>
// <summary></summary>
// ***********************************************************************
namespace FCS.Lib.Common
namespace FCS.Lib.Common;
/// <summary>
/// Class LifeCycle
/// </summary>
public class LifeCycle
{
/// <summary>
/// Class LifeCycle
/// Cycle last updated
/// </summary>
public class LifeCycle
{
/// <summary>
/// Cycle last updated
/// </summary>
public string LastUpdate { get; set; } = "";
/// <summary>
/// Time Frame for life cycle
/// </summary>
/// <see cref="TimeFrame"/>
public TimeFrame TimeFrame { get; set; } = new ();
}
public string LastUpdate { get; set; } = "";
/// <summary>
/// Time Frame for life cycle
/// </summary>
/// <see cref="TimeFrame"/>
public TimeFrame TimeFrame { get; set; } = new();
}

View file

@ -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")]
[assembly: AssemblyVersion("1.0.23077.1334")]
[assembly: AssemblyFileVersion("1.0.23077.1334")]

View file

@ -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 file="TimeFrame.cs" company="FCS">
// 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]
// </copyright>
// <summary></summary>
// ***********************************************************************
namespace FCS.Lib.Common
namespace FCS.Lib.Common;
/// <summary>
/// Class TimeFrame
/// </summary>
public class TimeFrame
{
/// <summary>
/// Class TimeFrame
/// From date
/// </summary>
public class TimeFrame
{
/// <summary>
/// From date
/// </summary>
public string StartDate { get; set; } = "";
/// <summary>
/// To date
/// </summary>
public string EndDate { get; set; } = "";
}
public string StartDate { get; set; } = "";
/// <summary>
/// To date
/// </summary>
public string EndDate { get; set; } = "";
}

View file

@ -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 file="VatInfoDto.cs" company="FCS">
// 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]
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.Collections.Generic;
namespace FCS.Lib.Common
namespace FCS.Lib.Common;
/// <summary>
/// Class VatInfoDto
/// </summary>
public class VatInfoDto
{
/// <summary>
/// Class VatInfoDto
/// Entity vat number
/// </summary>
public class VatInfoDto
{
/// <summary>
/// Entity vat number
/// </summary>
public string VatNumber { get; set; } = "";
/// <summary>
/// Entity name
/// </summary>
public string Name { get; set; } = "";
/// <summary>
/// Entity co-location name
/// </summary>
public string CoName { get; set; } = "";
/// <summary>
/// Entity address
/// </summary>
public string Address { get; set; } = "";
/// <summary>
/// Entity City
/// </summary>
public string City { get; set; } = "";
/// <summary>
/// Entity postal code
/// </summary>
public string ZipCode { get; set; } = "";
/// <summary>
/// List of entity states
/// </summary>
public List<VatState> States { get; set; } = new();
/// <summary>
/// List of entity life cycles
/// </summary>
public List<LifeCycle> LifeCycles { get; set; } = new();
/// <summary>
/// Registrar request date
/// </summary>
public string RequestDate { get; set; }
}
public string VatNumber { get; set; } = "";
/// <summary>
/// Entity name
/// </summary>
public string Name { get; set; } = "";
/// <summary>
/// Entity co-location name
/// </summary>
public string CoName { get; set; } = "";
/// <summary>
/// Entity address
/// </summary>
public string Address { get; set; } = "";
/// <summary>
/// Entity City
/// </summary>
public string City { get; set; } = "";
/// <summary>
/// Entity postal code
/// </summary>
public string ZipCode { get; set; } = "";
/// <summary>
/// List of entity states
/// </summary>
public List<VatState> States { get; set; } = new();
/// <summary>
/// List of entity life cycles
/// </summary>
public List<LifeCycle> LifeCycles { get; set; } = new();
/// <summary>
/// Registrar request date
/// </summary>
public string RequestDate { get; set; }
}

View file

@ -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 file="CvrState.cs" company="FCS">
// 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 file="VatState.cs" company="FCS">
// 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]
// </copyright>
// <summary></summary>
// ***********************************************************************
namespace FCS.Lib.Common
namespace FCS.Lib.Common;
/// <summary>
/// Class VatState
/// </summary>
public class VatState
{
/// <summary>
/// Class VatState
/// Last update of vatState
/// </summary>
public class VatState
{
/// <summary>
/// Last update of vatState
/// </summary>
public string LastUpdate { get; set; } = "";
/// <summary>
/// The state
/// </summary>
public string State { get; set; } = "";
/// <summary>
/// Time frame
/// </summary>
/// <see cref="TimeFrame"/>
public TimeFrame TimeFrame { get; set; } = new();
}
public string LastUpdate { get; set; } = "";
/// <summary>
/// The state
/// </summary>
public string State { get; set; } = "";
/// <summary>
/// Time frame
/// </summary>
/// <see cref="TimeFrame"/>
public TimeFrame TimeFrame { get; set; } = new();
}

View file

@ -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 file="VatStateInfo.cs" company="FCS">
// 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]
// </copyright>
// <summary></summary>
// ***********************************************************************
namespace FCS.Lib.Common
using System;
namespace FCS.Lib.Common;
/// <summary>
/// Class VatStateInfo
/// </summary>
public class VatStateInfo
{
/// <summary>
/// Class VatStateInfo
/// Business entity name
/// </summary>
public class VatStateInfo
{
/// <summary>
/// Business entity name
/// </summary>
public string Name { get; set; } = "";
/// <summary>
/// Business entity vat number
/// </summary>
public string VatNumber { get; set; } = "";
/// <summary>
/// Flag indicating valid format
/// </summary>
public bool VatNumberValid { get; set; }
/// <summary>
/// Flag indicating if entity is out of business
/// </summary>
public bool HasFolded { get; set; }
/// <summary>
/// Request date
/// </summary>
public DateTime RequestDate { get; set; }
}
public string Name { get; set; } = "";
/// <summary>
/// Business entity vat number
/// </summary>
public string VatNumber { get; set; } = "";
/// <summary>
/// Flag indicating valid format
/// </summary>
public bool VatNumberValid { get; set; }
/// <summary>
/// Flag indicating if entity is out of business
/// </summary>
public bool HasFolded { get; set; }
/// <summary>
/// Request date
/// </summary>
public DateTime RequestDate { get; set; }
}