yavsc/Yavsc.Server/Models/IT/Fixing/Bug.cs

23 lines
618 B
C#
Raw Normal View History

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;
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
[ForeignKey("FeatureId")]
public virtual Feature False { get; set; }
public long? FeatureId { get; set; }
2017-01-19 15:30:41 +01:00
2017-10-16 11:29:10 +02:00
[YaStringLength(2048)]
public string Description { get; set; }
2017-01-19 15:30:41 +01:00
public BugStatus Status { get; set; }
}
}