| 1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using WebService;
- namespace WebPortal.Models
- {
- public class Milestone
- {
- public int year { get; set; }
- public DateTime stoneTime { get; set; }
- public string content { get; set; }
- public Milestone() { }
- public Milestone(contentTreeObj treeObj)
- {
- DateTime month = DateTime.ParseExact(treeObj.expiredDate, "dd/MM/yyyy HH:mm:ss", null);
- this.year = month.Year;
- this.stoneTime = month;
- this.content = treeObj.description;
- }
- }
- public class Milestones
- {
- public int year { get; set; }
- public List<Milestone> mileStones { get; set; }
- }
- }
|