Merge branch 'dev_add_auth_1029' into 'master'
Dev add auth 1029 See merge request ql/apismnagaer_backend!8
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Apimanager_backend.Models
|
||||
{
|
||||
[Table("Logs")]
|
||||
public class Log
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public DateTime Timestamp { get; set; }
|
||||
public string Message { get; set; }
|
||||
public string Exception { get; set; }
|
||||
public string MessageTemplate { get; set; }
|
||||
public string Properties { get; set; }
|
||||
public string LogLevel { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -35,16 +35,16 @@ namespace Apimanager_backend.Models
|
||||
/// <summary>
|
||||
/// 是否禁用
|
||||
/// </summary>
|
||||
public bool IsBan { get; set; } // boolean
|
||||
public bool IsBan { get; set; } = false; // boolean
|
||||
/// <summary>
|
||||
/// 是否删除
|
||||
/// </summary>
|
||||
public bool IsDelete { get; set; } // boolean
|
||||
public bool IsDelete { get; set; } = false; // boolean
|
||||
|
||||
/// <summary>
|
||||
/// 余额
|
||||
/// </summary>
|
||||
public decimal Balance { get; set; } // Decimal(10)
|
||||
public decimal Balance { get; set; } = 0; // Decimal(10)
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间,默认当前时间
|
||||
|
||||
Reference in New Issue
Block a user