-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPostgreBackupLogs.cs
31 lines (30 loc) · 963 Bytes
/
PostgreBackupLogs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace PostgreSqlBackuptoAzureTool
{
public class PostgreBackupLogs
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Required]
public int DBBackupInfoId { get; set; }
[Required]
public string DatabaseServer { get; set; }
[Required]
public string DatabaseName { get; set; }
[Required]
public string DatabaseUserName { get; set; }
[Required]
public string DatabasePassword { get; set; }
[Required]
public string DatabasePort { get; set; }
[Required]
public int NoOfBackupFiles { get; set; }
public string Category { get; set; }
public DateTime CreatedOn { get; set; } = DateTime.Now;
}
}