32 lines
943 B
C#
32 lines
943 B
C#
using SqlSugar;
|
|
|
|
namespace dy.net.model.entity
|
|
{
|
|
[SugarTable(TableName = "dy_webdav_settings")]
|
|
public class WebDavSettings
|
|
{
|
|
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
|
public string Id { get; set; } = "default";
|
|
|
|
[SugarColumn(Length = 1000, IsNullable = true)]
|
|
public string Endpoint { get; set; }
|
|
|
|
[SugarColumn(Length = 1000, IsNullable = true)]
|
|
public string BasePath { get; set; } = "/dysync";
|
|
|
|
[SugarColumn(Length = 500, IsNullable = true)]
|
|
public string UserName { get; set; }
|
|
|
|
[SugarColumn(Length = -1, IsNullable = true)]
|
|
public string ProtectedPassword { get; set; }
|
|
|
|
public bool AllowInvalidCertificate { get; set; }
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
public DateTime? LastTestedAt { get; set; }
|
|
|
|
[SugarColumn(Length = 1000, IsNullable = true)]
|
|
public string LastTestMessage { get; set; }
|
|
}
|
|
}
|