mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-24 21:44:12 +08:00
24 lines
747 B
C#
24 lines
747 B
C#
![]() |
using System;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
|
|||
|
namespace detect.gui.Models.Entities;
|
|||
|
|
|||
|
[Table("Log")]
|
|||
|
[Index(nameof(UserId), IsUnique = false)]
|
|||
|
[Index(nameof(CreateTime), IsUnique = false)]
|
|||
|
public class LogEntity
|
|||
|
{
|
|||
|
[Key] public long? Id { get; set; }
|
|||
|
|
|||
|
[StringLength(255), Comment("描述")] public string? Description { get; set; }
|
|||
|
|
|||
|
[Comment("操作人ID")] public long? UserId { get; set; }
|
|||
|
|
|||
|
[StringLength(255), Comment("操作人")] public string? Username { get; set; }
|
|||
|
|
|||
|
[StringLength(255), Comment("说明")] public string? Remark { get; set; }
|
|||
|
|
|||
|
[Comment("创建时间")] public DateTime? CreateTime { get; set; }
|
|||
|
}
|