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

20 lines
497 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;
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-01-19 15:30:41 +01:00
public long FeatureId { get; set; }
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; }
}
}