25 lines
744 B
C#
25 lines
744 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
|
|
namespace OSS.Models
|
|
{
|
|
public class Attachments
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int AttachmentID { get; set; }
|
|
public string AttachmentName { get; set; }
|
|
public string AttachmentPath { get; set; }
|
|
public string ProjectCode { get; set; }
|
|
public string UploadedBy { get; set; }
|
|
[Column(TypeName = "datetime2")]
|
|
public DateTime UploadedDate { get; set; }
|
|
[NotMapped]
|
|
public HttpPostedFileBase UploadedPdf { get; set; }
|
|
}
|
|
} |