v0.0.3 twa sys
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TWASys_App.DBModels.SotrageModel
|
||||
{
|
||||
public class StorageServer_has_LocalServer
|
||||
{
|
||||
|
||||
[ForeignKey("IdStorageServer")]
|
||||
public long IdStorageServer { get; set; } = 0;
|
||||
|
||||
[ForeignKey("IdLocalServer")]
|
||||
public long IdLocalServer { get; set; } = 0;
|
||||
|
||||
|
||||
public DateTime CreateDate { get; set; } = DateTime.UtcNow; // nên lưu UTC
|
||||
|
||||
|
||||
public DateTime? ModifyDate { get; set; } = null; // nên lưu UTC
|
||||
|
||||
|
||||
public int Status { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user