This commit is contained in:
2026-02-12 21:53:26 +08:00
parent 77db20dc38
commit b96d895809
339 changed files with 46655 additions and 46657 deletions
+38 -38
View File
@@ -1,38 +1,38 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IM_API.Models;
public partial class Notification
{
public int Id { get; set; }
/// <summary>
/// 接收人(为空为全体通知)
/// </summary>
public int UserId { get; set; }
/// <summary>
/// 通知类型(0:文本)
/// </summary>
public sbyte Ntype { get; set; }
/// <summary>
/// 通知标题
/// </summary>
public string Title { get; set; } = null!;
/// <summary>
/// 通知内容
/// </summary>
public string Content { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
public virtual User User { get; set; } = null!;
}
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IM_API.Models;
public partial class Notification
{
public int Id { get; set; }
/// <summary>
/// 接收人(为空为全体通知)
/// </summary>
public int UserId { get; set; }
/// <summary>
/// 通知类型(0:文本)
/// </summary>
public sbyte Ntype { get; set; }
/// <summary>
/// 通知标题
/// </summary>
public string Title { get; set; } = null!;
/// <summary>
/// 通知内容
/// </summary>
public string Content { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
[Column(TypeName = "datetimeoffset")]
public DateTimeOffset Created { get; set; }
public virtual User User { get; set; } = null!;
}