IT model
This commit is contained in:
14
Yavsc/Models/IT/Evolution/Feature.cs
Normal file
14
Yavsc/Models/IT/Evolution/Feature.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Yavsc.Models.IT.Maintaining
|
||||
{
|
||||
public class Feature
|
||||
{
|
||||
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public FeatureStatus Status { get; set; }
|
||||
}
|
||||
}
|
20
Yavsc/Models/IT/Evolution/FeatureStatus.cs
Normal file
20
Yavsc/Models/IT/Evolution/FeatureStatus.cs
Normal file
@ -0,0 +1,20 @@
|
||||
namespace Yavsc.Models.IT.Maintaining
|
||||
{
|
||||
/// <summary>
|
||||
/// A Feature status
|
||||
/// <c>Ko</c>: A Bug has just been discovered
|
||||
/// <c>InSane</c>: This feature is not correctly integrating its ecosystem
|
||||
/// <c>Obsolete</c>: This will be replaced in a short future, or yet has been replaced
|
||||
/// with a better solution.
|
||||
/// <c>Ok</c> : nothing to say
|
||||
/// </summary>
|
||||
public enum FeatureStatus: int
|
||||
{
|
||||
Ko,
|
||||
Ok,
|
||||
ToDoInterface,
|
||||
ToDoImplementation,
|
||||
ToDoModel,
|
||||
ToDoSpecifications
|
||||
}
|
||||
}
|
15
Yavsc/Models/IT/Fixing/Bug.cs
Normal file
15
Yavsc/Models/IT/Fixing/Bug.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Yavsc.Models.IT.Fixing
|
||||
{
|
||||
public class Bug
|
||||
{
|
||||
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long Id { get; set; }
|
||||
public long FeatureId { get; set; }
|
||||
|
||||
public BugStatus Status { get; set; }
|
||||
|
||||
}
|
||||
}
|
19
Yavsc/Models/IT/Fixing/BugStatus.cs
Normal file
19
Yavsc/Models/IT/Fixing/BugStatus.cs
Normal file
@ -0,0 +1,19 @@
|
||||
namespace Yavsc.Models.IT.Fixing
|
||||
{
|
||||
/// <summary>
|
||||
/// Bug status:
|
||||
/// * Inserted -> Confirmed|FeatureRequest|Feature|Rejected
|
||||
/// * Confirmed -> Fixed
|
||||
/// * FeatureRequest -> Implemented
|
||||
/// </summary>
|
||||
public enum BugStatus : int
|
||||
{
|
||||
Inserted,
|
||||
Confirmed,
|
||||
Rejected,
|
||||
Feature,
|
||||
FeatureRequest,
|
||||
Fixed,
|
||||
Implemented
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user