-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathPerformanceReview.cs
86 lines (72 loc) · 2.67 KB
/
PerformanceReview.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
* This file is automatically generated; any changes will be lost.
*/
namespace My.Hr.Common.Entities;
/// <summary>
/// Represents the Performance Review entity.
/// </summary>
public partial class PerformanceReview : IIdentifier<Guid>, IETag, IChangeLog
{
/// <summary>
/// Gets or sets the <c>Employee</c> identifier.
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the <c>Employee.Id</c> (value is immutable).
/// </summary>
public Guid EmployeeId { get; set; }
/// <summary>
/// Gets or sets the Date.
/// </summary>
public DateTime Date { get; set; }
/// <summary>
/// Gets the corresponding <c>Outcome</c> text (read-only where selected).
/// </summary>
public string? OutcomeText { get; set; }
/// <summary>
/// Gets or sets the Outcome code.
/// </summary>
public string? Outcome { get; set; }
/// <summary>
/// Gets or sets the Reviewer.
/// </summary>
public string? Reviewer { get; set; }
/// <summary>
/// Gets or sets the Notes.
/// </summary>
public string? Notes { get; set; }
/// <summary>
/// Gets or sets the ETag.
/// </summary>
[JsonPropertyName("etag")]
public string? ETag { get; set; }
/// <summary>
/// Gets or sets the Change Log.
/// </summary>
public ChangeLog? ChangeLog { get; set; }
}
/// <summary>
/// Represents the <c>PerformanceReview</c> collection.
/// </summary>
public partial class PerformanceReviewCollection : List<PerformanceReview> { }
/// <summary>
/// Represents the <c>PerformanceReview</c> collection result.
/// </summary>
public class PerformanceReviewCollectionResult : CollectionResult<PerformanceReviewCollection, PerformanceReview>
{
/// <summary>
/// Initializes a new instance of the <see cref="PerformanceReviewCollectionResult"/> class.
/// </summary>
public PerformanceReviewCollectionResult() { }
/// <summary>
/// Initializes a new instance of the <see cref="PerformanceReviewCollectionResult"/> class with <paramref name="paging"/>.
/// </summary>
/// <param name="paging">The <see cref="PagingArgs"/>.</param>
public PerformanceReviewCollectionResult(PagingArgs? paging) : base(paging) { }
/// <summary>
/// Initializes a new instance of the <see cref="PerformanceReviewCollectionResult"/> class with <paramref name="items"/> to add.
/// </summary>
/// <param name="items">The items to add.</param>
/// <param name="paging">The <see cref="PagingArgs"/>.</param>
public PerformanceReviewCollectionResult(IEnumerable<PerformanceReview> items, PagingArgs? paging = null) : base(paging) => Items.AddRange(items);
}