DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Documents/Models/Document.cs

29 lines
818 B
C#
Raw Normal View History

2023-08-31 18:00:51 -05:00
using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.Documents.Models
{
public class Document : BaseDocument
{
public List<DocumentsTranslation> documentsTranslations { get; set; }
}
public class MultiLanDocument:BaseDocument
{
public object titles { get; set; }
public object description { get; set; }
2023-09-13 15:49:59 -05:00
public string LinkType { get; set; }
}
public class BaseDocument
2023-08-31 18:00:51 -05:00
{
public int Id { get; set; }
public int linkTypeId { get; set; }
public string docName { get; set; }
public string url { get; set; }
public string Path { get; set; }
public bool IsActive { get; set; }
public DateTime dateCreated { get; set; }
public DateTime dateUpdated { get; set; }
}
}