123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.SupervisionManage
- {
- public class SupDocumentView
- {
- /// <summary>
- ///
- /// </summary>
- public Guid DocumentID { get; set; }
- /// <summary>
- ///
- /// </summary>
- [Required]
- [DisplayName("文件类型")]
- public Nullable<int> DocumentTypeID { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string DocumentTypeDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.SUP_DocumentType.ToString())
- .Where(x => x.Value == DocumentTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- ///
- /// </summary>
- [Required]
- [DisplayName("标题")]
- public string Title { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string Url { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string Download
- {
- get
- {
- return "下载";
- }
- }
- /// <summary>
- ///
- /// </summary>
- public Nullable<Guid> CreateCollegeID { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string CreateCollegeName { get; set; }
- /// <summary>
- ///
- /// </summary>
- public Nullable<Guid> CreateUserID { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string CreateUserName { get; set; }
- /// <summary>
- ///
- /// </summary>
- public Nullable<DateTime> CreateTime { get; set; }
- }
- }
|