You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB
C#

using System;
using System.Runtime.Serialization;
using MiniExcelLibs.Attributes;
using SqlSugar;
namespace SlnMesnac.Model.domain
{
[SugarTable("ScanLog"), Tenant("mes")]
[DataContract(Name = "ScanLog 扫描日志")]
public class ScanLogModel
{
/// <summary>
///
///</summary>
[ExcelColumnName("标识"), ExcelColumnWidth(15)]
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
[ExcelColumnName("扫描时间"), ExcelColumnWidth(30)]
[SugarColumn(ColumnName = "create_time")]
public DateTime CreateTime { get; set; }
[ExcelColumnName("数据类型"), ExcelColumnWidth(15)]
[SugarColumn(ColumnName = "data_type")]
public int DataType { get; set; }
[ExcelColumnName("RFID条码"), ExcelColumnWidth(30)]
[SugarColumn(ColumnName = "rfid")]
public string Rfid { get; set; }
[ExcelColumnName("ATR识别"), ExcelColumnWidth(30)]
[SugarColumn(ColumnName = "code")]
public string Code { get; set; }
[ExcelColumnName("OCR识别"), ExcelColumnWidth(30)]
[SugarColumn(ColumnName = "ocr")]
public string Ocr { get; set; }
[ExcelColumnName("全景图像路径"), ExcelColumnWidth(50)]
[SugarColumn(ColumnName = "url")]
public string Url { get; set; }
[SugarColumn(IsIgnore = true)]
public string Result { get; set; }
}
}