update TWA Management v0.0.1
This commit is contained in:
25
TWASys-App/DBModels/StorageServer.cs
Normal file
25
TWASys-App/DBModels/StorageServer.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TWASys_App.DBModels
|
||||
{
|
||||
public class StorageServer
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public long IdStorageServer { get; set; }
|
||||
public long? IdEmp { get; set; }
|
||||
|
||||
[ForeignKey("IdTypeStorageServer")]
|
||||
public long IdTypeStorageServer { get; set; }
|
||||
|
||||
public string StorageName { get; set; } = "";
|
||||
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
|
||||
public string ControllerID { get; set; } = "";
|
||||
|
||||
public int Status { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user