﻿using FluentValidation.Attributes;
using Bivi.Infrastructure.Services.Caching;
using Bivi.BackOffice.Web.ViewModels.Validators.Document;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bivi.BackOffice.Web.ViewModels.Pages.Document
{
    [Validator(typeof(PieceJointeViewModelValidator))]
    public class PieceJointeViewModel
    {
        public long ID { get; set; }
        public long? IdentifiantModele { get; set; }
        public long VueID { get; set; }
        public long IdentifiantFonctionnel { get; set; }
        public string Libelle { get; set; }
        public string Url { get; set; }
        public bool Supprimable { get; set; }
        public string CodePicto { get; set; }
        public long? TypeDocumentID { get; set; }
        public bool Redirection { get; set; }
        public bool IsFile { get; set; }
        public string Commentaire { get; set; }
        public string TypeDocumentLib { get; set; }
        public string CreationDate { get; set; }
        public int Year { get; set; }
    }
}
