using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.OA.Gantt
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2017
/// 创 建:超级管理员
/// 日 期:2018-06-20 15:42
/// 描 述:项目计划
///
public class JQueryGanttEntity
{
#region 实体成员
///
/// id
///
///
[Column("ID")]
public string id { get; set; }
///
/// name
///
///
[Column("NAME")]
public string name { get; set; }
///
/// progress
///
///
[Column("PROGRESS")]
public int? progress { get; set; }
///
/// progressByWorklog
///
///
[Column("PROGRESSBYWORKLOG")]
public bool progressByWorklog { get; set; }
///
/// relevance
///
///
[Column("RELEVANCE")]
public int? relevance { get; set; }
///
/// type
///
///
[Column("TYPE")]
public string type { get; set; }
///
/// typeId
///
///
[Column("TYPEID")]
public string typeId { get; set; }
///
/// description
///
///
[Column("DESCRIPTION")]
public string description { get; set; }
///
/// code
///
///
[Column("CODE")]
public string code { get; set; }
///
/// level
///
///
[Column("LEVEL")]
public int? level { get; set; }
///
/// status
///
///
[Column("STATUS")]
public string status { get; set; }
///
/// depends
///
///
[Column("DEPENDS")]
public string depends { get; set; }
///
/// canWrite
///
///
[Column("CANWRITE")]
public bool canWrite { get; set; }
///
/// start
///
///
[Column("START")]
public string start { get; set; }
///
/// duration
///
///
[Column("DURATION")]
public string duration { get; set; }
///
/// end
///
///
[Column("END")]
public string end { get; set; }
///
/// startIsMilestone
///
///
[Column("STARTISMILESTONE")]
public bool startIsMilestone { get; set; }
///
/// endIsMilestone
///
///
[Column("ENDISMILESTONE")]
public bool endIsMilestone { get; set; }
///
/// collapsed
///
///
[Column("COLLAPSED")]
public bool collapsed { get; set; }
///
/// hasChild
///
///
[Column("HASCHILD")]
public bool hasChild { get; set; }
///
/// assigs
///
///
[Column("ASSIGS")]
public string assigs { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.id = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.id = keyValue;
}
#endregion
}
}