Changed to long types
122517
This commit is contained in:
@ -9,15 +9,16 @@ public class WorkItem
|
||||
#nullable enable
|
||||
|
||||
[JsonConstructor]
|
||||
public WorkItem(string areaPath,
|
||||
public WorkItem(DateTime? activatedDate,
|
||||
string areaPath,
|
||||
string? assignedTo,
|
||||
int? businessValue,
|
||||
long? businessValue,
|
||||
DateTime changedDate,
|
||||
DateTime? closedDate,
|
||||
int commentCount,
|
||||
DateTime createdDate,
|
||||
string description,
|
||||
float? effort,
|
||||
long? effort,
|
||||
int id,
|
||||
string iterationPath,
|
||||
int? parent,
|
||||
@ -26,17 +27,18 @@ public class WorkItem
|
||||
string? requester,
|
||||
DateTime? resolvedDate,
|
||||
int revision,
|
||||
int? riskReductionMinusOpportunityEnablement,
|
||||
long? riskReductionMinusOpportunityEnablement,
|
||||
DateTime? startDate,
|
||||
string state,
|
||||
string tags,
|
||||
DateTime? targetDate,
|
||||
float? timeCriticality,
|
||||
long? timeCriticality,
|
||||
string title,
|
||||
string? violation,
|
||||
float? weightedShortestJobFirst,
|
||||
long? weightedShortestJobFirst,
|
||||
string workItemType)
|
||||
{
|
||||
ActivatedDate = activatedDate;
|
||||
AreaPath = areaPath;
|
||||
AssignedTo = assignedTo;
|
||||
BusinessValue = businessValue;
|
||||
@ -70,7 +72,8 @@ public class WorkItem
|
||||
|
||||
public static WorkItem Get(WorkItem workItem, string? violation)
|
||||
{
|
||||
WorkItem result = new(workItem.AreaPath,
|
||||
WorkItem result = new(workItem.ActivatedDate,
|
||||
workItem.AreaPath,
|
||||
workItem.AssignedTo,
|
||||
workItem.BusinessValue,
|
||||
workItem.ChangedDate,
|
||||
@ -100,15 +103,16 @@ public class WorkItem
|
||||
return result;
|
||||
}
|
||||
|
||||
public DateTime? ActivatedDate { get; set; }
|
||||
public string AreaPath { get; set; }
|
||||
public string? AssignedTo { get; set; }
|
||||
public int? BusinessValue { get; set; }
|
||||
public long? BusinessValue { get; set; }
|
||||
public DateTime ChangedDate { get; set; }
|
||||
public DateTime? ClosedDate { get; set; }
|
||||
public int CommentCount { get; set; }
|
||||
public DateTime CreatedDate { get; set; }
|
||||
public string Description { get; set; }
|
||||
public float? Effort { get; set; }
|
||||
public long? Effort { get; set; }
|
||||
public int Id { get; set; }
|
||||
public string IterationPath { get; set; }
|
||||
public int? Parent { get; set; }
|
||||
@ -117,15 +121,15 @@ public class WorkItem
|
||||
public string? Requester { get; set; }
|
||||
public DateTime? ResolvedDate { get; set; }
|
||||
public int Revision { get; set; }
|
||||
public int? RiskReductionMinusOpportunityEnablement { get; set; }
|
||||
public long? RiskReductionMinusOpportunityEnablement { get; set; }
|
||||
public DateTime? StartDate { get; set; }
|
||||
public string State { get; set; }
|
||||
public string Tags { get; set; }
|
||||
public DateTime? TargetDate { get; set; }
|
||||
public float? TimeCriticality { get; set; }
|
||||
public long? TimeCriticality { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string? Violation { get; set; }
|
||||
public string WorkItemType { get; set; }
|
||||
public float? WeightedShortestJobFirst { get; set; }
|
||||
public long? WeightedShortestJobFirst { get; set; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user