Ejemplo n.º 1
0
        /// <summary>
        /// Empty Constructor
        /// </summary>
        public Request()
        {
            this.id = 0;
            DateTime date = Convert.ToDateTime("1932-03-17");

            this.status       = new RequestStatus();
            this.sentDate     = date;
            this.receivedDate = date;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor, to create an Indexable Project Status
 /// </summary>
 /// <param name="index">int</param>
 /// <param name="status">ProjectStatus</param>
 public IndexedRequestStatus(int index, RequestStatus status) : base(status)
 {
     this.index = index;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Costructor used to add RequestStatus from Db
 /// </summary>
 /// <param name="status">RequestStatus</param>
 public RequestStatus(RequestStatus status)
 {
     this.id          = status.Id;
     this.description = status.Description;
 }