init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface ISensorDbRecord
|
||||
{
|
||||
[Key]
|
||||
int id { get; set; }
|
||||
|
||||
short SensorType { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string SerialNumber { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user