namespace AMPDAL.DTO.ApiArtifact; public class ApiArtifactDTO { public long ApiArtifactId { get; set; } public int TenantId { get; set; } public long ApiId { get; set; } public int ArtifactType { get; set; } public string Title { get; set; } = string.Empty; public string? Location { get; set; } public string? Remarks { get; set; } // Standard Fields public short SortOrder { get; set; } public int Status { get; set; } public short Version { get; set; } public int SourceType { get; set; } // Audit Fields public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } } public class ApiArtifactSaveDTO { public long ApiArtifactId { get; set; } public int TenantId { get; set; } public long ApiId { get; set; } public int ArtifactType { get; set; } public string Title { get; set; } = string.Empty; public string? Location { get; set; } public string? Remarks { get; set; } // Standard Fields public short SortOrder { get; set; } public int Status { get; set; } public short Version { get; set; } public int SourceType { get; set; } // Audit Fields public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } } public enum ArtifactType { Document = 0, Diagram = 1, Specification = 2, Contract = 3, Other = 4 }