update TWA Management v0.0.1
This commit is contained in:
24
TWASys-App/DBModels/StorageArea_has_StorageServer.cs
Normal file
24
TWASys-App/DBModels/StorageArea_has_StorageServer.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TWASys_App.DBModels
|
||||
{
|
||||
public class StorageArea_has_StorageServer
|
||||
{
|
||||
|
||||
[ForeignKey("IdStorage")]
|
||||
public long IdStorage { get; set; }
|
||||
|
||||
[ForeignKey("IdStorageServer")]
|
||||
public long IdStorageServer { get; set; }
|
||||
|
||||
[Column("priority", TypeName = "int")]
|
||||
public int Priority { get; set; } = 0;
|
||||
|
||||
[Column("createDate", TypeName = "datetime")]
|
||||
public DateTime CreateDate { get; set; } = DateTime.UtcNow;
|
||||
|
||||
[Column("status", TypeName = "int")]
|
||||
public int Status { get; set; } = 0;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user