2023-08-15 22:52:30 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2023-10-04 17:45:51 -05:00
|
|
|
|
namespace DamageAssesment.Api.Responses.Models
|
2023-08-15 22:52:30 -05:00
|
|
|
|
{
|
|
|
|
|
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; }
|
2023-10-31 15:19:24 -05:00
|
|
|
|
public string FileName { get; set; }
|
2023-08-15 22:52:30 -05:00
|
|
|
|
|
|
|
|
|
public Attachment(int answerId, string uri)
|
|
|
|
|
{
|
|
|
|
|
this.AnswerId = answerId;
|
|
|
|
|
this.URI = uri;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|