85 lines
2.5 KiB
C#
85 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace Fab2ApprovalSystem.Models
|
|
{
|
|
|
|
[Serializable]
|
|
public class PartsRequest
|
|
{
|
|
public int PRNumber { get; set; }
|
|
public string Title { get; set; }
|
|
|
|
public DateTime CreateDate { get; set; }
|
|
public DateTime? SubmitDate { get; set; }
|
|
public DateTime? CloseDate { get; set; }
|
|
|
|
public int OriginatorID { get; set; }
|
|
public int RequestorID { get; set; }
|
|
public int TechLeadID { get; set; }
|
|
public string Description { get; set; }
|
|
|
|
public DateTime? LastUpdateDate { get; set; }
|
|
|
|
public int CurrentStep { get; set; }
|
|
|
|
public string Status { get; set; }
|
|
}
|
|
|
|
[Serializable]
|
|
public class PartsRequestAttachment
|
|
{
|
|
public int AttachmentID { set; get; }
|
|
public int PRNumber { get; set; }
|
|
public string FileName { get; set; }
|
|
public int UserID { get; set; }
|
|
public string UploadDate { get; set; }
|
|
}
|
|
|
|
[Serializable]
|
|
public class PartsRequestAttachmentList
|
|
{
|
|
public int AttachmentID { set; get; }
|
|
public int PRNumber { get; set; }
|
|
public string FileName { get; set; }
|
|
public int UserID { get; set; }
|
|
public string UploadDate { get; set; }
|
|
|
|
public string FullName { get; set; }
|
|
}
|
|
|
|
public class PartsRequestList
|
|
{
|
|
public int PRNumber { get; set; }
|
|
public string Title { get; set; }
|
|
public DateTime CreateDate { get; set; }
|
|
public DateTime SubmitDate { get; set; }
|
|
public DateTime CloseDate { get; set; }
|
|
public string Originator { get; set; }
|
|
public string Requestor { get; set; }
|
|
public string TechLead { get; set; }
|
|
public string Description { get; set; }
|
|
public string Status { get; set; }
|
|
public string PendingApprovers { get; set; }
|
|
}
|
|
|
|
public class MyPartsRequestList
|
|
{
|
|
public int PRNumber { get; set; }
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public DateTime CreateDate { get; set; }
|
|
public DateTime? SubmitDate { get; set; }
|
|
public DateTime? CloseDate { get; set; }
|
|
public string Originator { get; set; }
|
|
public string Requestor { get; set; }
|
|
public string TechLead { get; set; }
|
|
public string Status { get; set; }
|
|
public string PendingApprovers { get; set; }
|
|
public string WorkFlowStepName { get; set; }
|
|
}
|
|
|
|
} |