2017-01-19 15:30:41 +01:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2017-10-16 11:29:10 +02:00
|
|
|
|
using Yavsc.Attributes.Validation;
|
2017-10-22 13:09:08 +02:00
|
|
|
|
using Yavsc.Models.IT.Maintaining;
|
2017-01-19 15:30:41 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Yavsc.Models.IT.Fixing
|
|
|
|
|
|
{
|
|
|
|
|
|
public class Bug
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
|
|
public long Id { get; set; }
|
2017-10-16 11:29:10 +02:00
|
|
|
|
|
2017-10-22 13:09:08 +02:00
|
|
|
|
[ForeignKey("FeatureId")]
|
|
|
|
|
|
public virtual Feature False { get; set; }
|
2018-12-27 23:01:22 +00:00
|
|
|
|
|
2017-10-22 13:09:08 +02:00
|
|
|
|
public long? FeatureId { get; set; }
|
2017-01-19 15:30:41 +01:00
|
|
|
|
|
2018-12-27 23:53:27 +00:00
|
|
|
|
[YaStringLength(1024)]
|
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[YaStringLength(4096)]
|
2017-10-16 11:29:10 +02:00
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
2017-01-19 15:30:41 +01:00
|
|
|
|
public BugStatus Status { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2018-12-27 23:01:22 +00:00
|
|
|
|
}
|