using SqlSugar; using System; namespace TeamAAS_VP.Models { [SugarTable("PhotoCaptureRecord")] public class PhotoCaptureRecord { [SugarColumn(IsPrimaryKey = true)] public Guid Id { get; set; } = Guid.NewGuid(); /// /// 拍照时间 /// public DateTime CaptureTime { get; set; } = DateTime.UtcNow; /// /// 配方名 /// [SugarColumn(Length = 255, IsNullable = true)] public string RecipeName { get; set; } /// /// 产品序列号 /// [SugarColumn(Length = 255, IsNullable = true)] public string ProductSN { get; set; } /// /// 相机名 /// [SugarColumn(Length = 255, IsNullable = true)] public string CameraName { get; set; } /// /// 流程名 /// [SugarColumn(Length = 255, IsNullable = true)] public string ProcessName { get; set; } /// /// 位置编号 /// public int PositionIndex { get; set; } /// /// 是否成功 /// public bool IsSuccess { get; set; } /// /// 机器人拍照位置 /// [SugarColumn(Length = 255, IsNullable = true)] public string RobotPosition { get; set; } /// /// 像素坐标 /// [SugarColumn(Length = 255, IsNullable = true)] public string PixelPosition { get; set; } /// /// 绝对坐标 /// [SugarColumn(Length = 255, IsNullable = true)] public string AbsolutePosition { get; set; } /// /// 图片路径 /// [SugarColumn(Length = 1000, IsNullable = true)] public string ImagePath { get; set; } /// /// 备注 /// [SugarColumn(Length = 1000, IsNullable = true)] public string Remarks { get; set; } /// /// 当前的操作员名称 /// [SugarColumn(Length = 255, IsNullable = true)] public string OperatorName { get; set; } } }