2023-08-31 18:00:51 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace DamageAssesment.Api.Documents.Models
|
|
|
|
|
{
|
2023-09-11 12:23:50 -05:00
|
|
|
|
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; }
|
2023-09-11 12:23:50 -05:00
|
|
|
|
}
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|