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
{
///
///
///
public Guid DocumentID { get; set; }
///
///
///
[Required]
[DisplayName("文件类型")]
public Nullable DocumentTypeID { get; set; }
///
///
///
public string DocumentTypeDesc
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.SUP_DocumentType.ToString())
.Where(x => x.Value == DocumentTypeID)
.Select(x => x.Name).FirstOrDefault();
}
}
///
///
///
[Required]
[DisplayName("标题")]
public string Title { get; set; }
///
///
///
public string Url { get; set; }
///
///
///
public string Download
{
get
{
return "下载";
}
}
///
///
///
public Nullable CreateCollegeID { get; set; }
///
///
///
public string CreateCollegeName { get; set; }
///
///
///
public Nullable CreateUserID { get; set; }
///
///
///
public string CreateUserName { get; set; }
///
///
///
public Nullable CreateTime { get; set; }
}
}