* User views its devices, from a /manage index link * Yavsc.Server resurection
19 lines
552 B
C#
19 lines
552 B
C#
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
using Yavsc.Attributes.Validation;
|
||
|
||
namespace Yavsc.Models.IT.Maintaining
|
||
{
|
||
public class Feature
|
||
{
|
||
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||
public long Id { get; set; }
|
||
|
||
[YaStringLength(256,MinLen=3)]
|
||
public string ShortName { get; set; }
|
||
|
||
[YaStringLength(10*1024,MinLen=3)]
|
||
public string Description { get; set; }
|
||
public FeatureStatus Status { get; set; }
|
||
}
|
||
} |