附件增加主键Key标记
This commit is contained in:
parent
3ed9596abe
commit
62d6d6d920
|
@ -1,4 +1,6 @@
|
|||
namespace CalendarNotepad.Models
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CalendarNotepad.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 附件文件单元
|
||||
|
@ -8,6 +10,7 @@
|
|||
/// <summary>
|
||||
/// 文件指纹ID
|
||||
/// </summary>
|
||||
[Key]
|
||||
public string? FileId { get; set; }
|
||||
/// <summary>
|
||||
/// 文件内容
|
||||
|
|
Loading…
Reference in New Issue
Block a user