diff --git a/Yavsc/Models/IT/Evolution/Feature.cs b/Yavsc/Models/IT/Evolution/Feature.cs new file mode 100644 index 00000000..bf01011e --- /dev/null +++ b/Yavsc/Models/IT/Evolution/Feature.cs @@ -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; } + } +} \ No newline at end of file diff --git a/Yavsc/Models/IT/Evolution/FeatureStatus.cs b/Yavsc/Models/IT/Evolution/FeatureStatus.cs new file mode 100644 index 00000000..e961aca5 --- /dev/null +++ b/Yavsc/Models/IT/Evolution/FeatureStatus.cs @@ -0,0 +1,20 @@ +namespace Yavsc.Models.IT.Maintaining +{ + /// + /// A Feature status + /// Ko: A Bug has just been discovered + /// InSane: This feature is not correctly integrating its ecosystem + /// Obsolete: This will be replaced in a short future, or yet has been replaced + /// with a better solution. + /// Ok : nothing to say + /// + public enum FeatureStatus: int + { + Ko, + Ok, + ToDoInterface, + ToDoImplementation, + ToDoModel, + ToDoSpecifications + } +} \ No newline at end of file diff --git a/Yavsc/Models/IT/Fixing/Bug.cs b/Yavsc/Models/IT/Fixing/Bug.cs new file mode 100644 index 00000000..8596ebf9 --- /dev/null +++ b/Yavsc/Models/IT/Fixing/Bug.cs @@ -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; } + + } +} \ No newline at end of file diff --git a/Yavsc/Models/IT/Fixing/BugStatus.cs b/Yavsc/Models/IT/Fixing/BugStatus.cs new file mode 100644 index 00000000..1e5d148e --- /dev/null +++ b/Yavsc/Models/IT/Fixing/BugStatus.cs @@ -0,0 +1,19 @@ +namespace Yavsc.Models.IT.Fixing +{ + /// + /// Bug status: + /// * Inserted -> Confirmed|FeatureRequest|Feature|Rejected + /// * Confirmed -> Fixed + /// * FeatureRequest -> Implemented + /// + public enum BugStatus : int + { + Inserted, + Confirmed, + Rejected, + Feature, + FeatureRequest, + Fixed, + Implemented + } +} \ No newline at end of file