ActionClasViewModel.cs 656 B

1234567891011121314151617181920212223242526272829
  1. using CD67.FicheCollege.Entity;
  2. using System.Collections.Generic;
  3. namespace CD67.FicheCollege.MVC.Models
  4. {
  5. public class ActionClasViewModel : BaseViewModel<ActionCLAS>
  6. {
  7. public ActionClasViewModel(ActionCLAS model, ModeAcces acces = ModeAcces.Lecture, Dictionary<string, object> bag = null) : base(model, acces, bag)
  8. {
  9. }
  10. public override int Id
  11. {
  12. get
  13. {
  14. return Obj.College_Id;
  15. }
  16. }
  17. public override string Annee_Lib
  18. {
  19. get
  20. {
  21. return Obj.College.Annee.Libelle;
  22. }
  23. }
  24. }
  25. }