forked from SapanV/webapi-openshift-source
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToDo.cs
More file actions
36 lines (32 loc) · 1.02 KB
/
ToDo.cs
File metadata and controls
36 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace webapi_openshift_source
{
// <copyright file="ToDo.cs" company="Click2Cloud">
// Copyright (c) 2015 All Rights Reserved
// </copyright>
// <author>Shrutika Mendhe</author>
// <date>07/24/2015 10:42 AM </date>
// <summary>ToDo entity contains properties for ToDo Items</summary>
public class ToDo
{
/// <summary>
/// Specifies sequence number of item.
/// </summary>
public int Index { get { return Controllers.ToDoController._todo.IndexOf(this); } }
/// <summary>
/// Specifies title for an item.
/// </summary>
public string Title { get; set; }
/// <summary>
/// Specifies detail about an item.
/// </summary>
public string Detail { get; set; }
/// <summary>
/// Specifies state of item. It can be ACTIVE or DONE
/// </summary>
public string State { get; set; }
}
}