-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVatState.cs
executable file
·62 lines (58 loc) · 2.68 KB
/
VatState.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// // ***********************************************************************
// // Solution : Inno.Api.v2
// // Assembly : FCS.Lib.Common
// // Filename : VatState.cs
// // Created : 2025-01-03 14:01
// // Last Modified By : dev
// // Last Modified On : 2025-01-04 11:01
// // ***********************************************************************
// // <copyright company="Frede Hundewadt">
// // Copyright (C) 2010-2025 Frede Hundewadt
// // 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;
/// <summary>
/// Represents the state of VAT (Value Added Tax) information for an entity.
/// </summary>
/// <remarks>
/// This class encapsulates details about the VAT state, including the last update timestamp,
/// the current state, and the associated time frame. It is used to track and manage VAT-related
/// information for entities.
/// </remarks>
public class VatState
{
/// <summary>
/// Gets or sets the date and time of the last update for the VAT state.
/// </summary>
/// <value>
/// A string representing the last update date and time in a specific format.
/// </value>
public string LastUpdate { get; set; } = "";
/// <summary>
/// Gets or sets the VAT (Value Added Tax) state, representing the current status of VAT registration.
/// </summary>
/// <value>
/// A <see cref="string" /> indicating the VAT state, such as "NORMAL" or "LUKKET".
/// </value>
public string State { get; set; } = "";
/// <summary>
/// Gets or sets the time frame associated with the VAT state.
/// </summary>
/// <remarks>
/// The <see cref="TimeFrame" /> defines the start and end dates for the validity of the VAT state.
/// </remarks>
public TimeFrame TimeFrame { get; set; } = new();
}