using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace VOL.Entity.DomainModels.XinWei { /// /// 设备抓拍图片 /// [Table("XW_DeviceImage")] public class XW_DeviceImage { /// /// 编号 /// [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("编号")] public int Id { get; set; } /// /// 图片地址路径 /// [Display(Name = "Path")] [Comment("图片地址路径")] public string? Path { get; set; } /// /// 图片OSS地址 /// [Display(Name = "ImageUrl")] [Comment("图片OSS地址")] public string? ImageUrl { get; set; } /// /// 上传设备序列号 /// [Display(Name = "DeviceNum")] [Comment("上传设备序列号")] public string? DeviceNum { get; set; } /// /// 上传时间戳 /// [Display(Name = "Timestamp")] [Comment("上传时间戳")] public string? Timestamp { get; set; } /// /// 学生ID /// [Display(Name = "StudentId")] [Comment("学生ID")] public string? StudentId { get; set; } /// /// 原始文件名 /// [Display(Name = "FileName")] [Comment("原始文件名")] public string? FileName { get; set; } /// /// 创建时间 /// [Display(Name = "CreateTime")] [Comment("创建时间")] public string? CreateTime { get; set; } } }