Skip to content

Commit

Permalink
feat: Added tagType to tagData
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBohme committed Oct 13, 2023
1 parent 6713e52 commit 195bcd0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions datasheetapi/Adapters/TagDataAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private static T DefaultToDto<T>(ITagData tagData)
PurchaseOrder = tagData.PurchaseOrder,
Sequence = tagData.Sequence,
System = tagData.System,
TagType = tagData.TagType,
Version = tagData.Version,
RevisionContainer = null,
};
Expand Down
1 change: 1 addition & 0 deletions datasheetapi/Dtos/TagData/ITagDataDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public interface ITagDataDto
string? PurchaseOrder { get; set; }
string? Sequence { get; set; }
string? System { get; set; }
string? TagType { get; set; }
int Version { get; set; }
TagDataReviewDto? Review { get; set; }
RevisionContainerDto? RevisionContainer { get; set; }
Expand Down
1 change: 1 addition & 0 deletions datasheetapi/Dtos/TagData/TagDataDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public record TagDataDto : ITagDataDto, IBaseEntityDto
public string? PurchaseOrder { get; set; }
public string? Sequence { get; set; }
public string? System { get; set; }
public string? TagType { get; set; }
public int Version { get; set; }
public TagDataReviewDto? Review { get; set; }
public RevisionContainerDto? RevisionContainer { get; set; }
Expand Down
1 change: 1 addition & 0 deletions datasheetapi/Models/TagData/ITagData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public interface ITagData
string? PurchaseOrder { get; set; }
string? Sequence { get; set; }
string? System { get; set; }
string? TagType { get; set; }
int Version { get; set; }
}
}
1 change: 1 addition & 0 deletions datasheetapi/Models/TagData/TagData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public class TagData : ITagData
public string? PurchaseOrder { get; set; }
public string? Sequence { get; set; }
public string? System { get; set; }
public string? TagType { get; set; }
public int Version { get; set; }
}

0 comments on commit 195bcd0

Please sign in to comment.