GIT: perform LF normalization
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Disco.Models.Repository
|
||||
{
|
||||
public class DeviceDetail
|
||||
{
|
||||
[Column(Order = 0), Key]
|
||||
public string DeviceSerialNumber { get; set; }
|
||||
|
||||
[Key, StringLength(100), Column(Order = 2)]
|
||||
public string Key { get; set; }
|
||||
|
||||
[Column(Order = 1), StringLength(100), Key]
|
||||
public string Scope { get; set; }
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
[ForeignKey("DeviceSerialNumber")]
|
||||
public virtual Device Device { get; set; }
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Disco.Models.Repository
|
||||
{
|
||||
public class DeviceDetail
|
||||
{
|
||||
[Column(Order = 0), Key]
|
||||
public string DeviceSerialNumber { get; set; }
|
||||
|
||||
[Key, StringLength(100), Column(Order = 2)]
|
||||
public string Key { get; set; }
|
||||
|
||||
[Column(Order = 1), StringLength(100), Key]
|
||||
public string Scope { get; set; }
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
[ForeignKey("DeviceSerialNumber")]
|
||||
public virtual Device Device { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user