DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.SurveyResponses/Models/Attachment.cs

22 lines
494 B
C#
Raw Normal View History

2023-08-15 22:52:30 -05:00
using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.SurveyResponses.Models
{
public class Attachment
{
public int Id { get; set; }
public string URI { get; set; }
public int ResponseId { get; set; }
public int? AnswerId { get; set; }
public bool IsDeleted { get; set; }
public Attachment(int answerId, string uri)
{
this.AnswerId = answerId;
this.URI = uri;
}
}
}