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