附件增加主键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>
|
/// <summary>
|
||||||
/// 附件文件单元
|
/// 附件文件单元
|
||||||
|
@ -8,6 +10,7 @@
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文件指纹ID
|
/// 文件指纹ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Key]
|
||||||
public string? FileId { get; set; }
|
public string? FileId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文件内容
|
/// 文件内容
|
||||||
|
|
Loading…
Reference in New Issue
Block a user