-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLifeCycle.cs
executable file
·55 lines (52 loc) · 2.46 KB
/
LifeCycle.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
// // ***********************************************************************
// // Solution : Inno.Api.v2
// // Assembly : FCS.Lib.Common
// // Filename : LifeCycle.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 life cycle of an entity, including its last update and associated time frame.
/// </summary>
/// <remarks>
/// This class is used to define the life cycle details, such as the last update timestamp and the time frame
/// during which the entity is active. It is utilized in various mappings and data transfer objects, such as
/// <see cref="FCS.Lib.Common.VatInfoDto" />.
/// </remarks>
public class LifeCycle
{
/// <summary>
/// Gets or sets the date and time of the last update for the lifecycle.
/// </summary>
/// <value>
/// A <see cref="string" /> representing the last update timestamp.
/// </value>
public string LastUpdate { get; set; } = "";
/// <summary>
/// Gets or sets the time frame associated with the lifecycle.
/// </summary>
/// <remarks>
/// This property represents a period with a defined start and end date,
/// which is used to describe the lifecycle's duration or validity.
/// </remarks>
public TimeFrame TimeFrame { get; set; } = new();
}