64 lines
1.4 KiB
C#
64 lines
1.4 KiB
C#
using SqlSugar;
|
|
using System.Text.Json.Serialization;
|
|
using WcsMain.WcsAttribute.Clear;
|
|
|
|
namespace WcsMain.DataBase.TableEntity;
|
|
|
|
/// <summary>
|
|
/// 扫码记录
|
|
/// </summary>
|
|
[SugarTable("tbl_app_scan_record")]
|
|
[ClearTable("scan_time", 15)]
|
|
public class AppScanRecord
|
|
{
|
|
/// <summary>
|
|
/// 记录ID
|
|
/// </summary>
|
|
[JsonPropertyName("recordId")]
|
|
[SugarColumn(IsPrimaryKey = true, ColumnName = "record_id")]
|
|
public string? RecordId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扫码ID
|
|
/// </summary>
|
|
[JsonPropertyName("scanId")]
|
|
[SugarColumn(ColumnName = "scan_id")]
|
|
public string? ScanId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 区域
|
|
/// </summary>
|
|
[JsonPropertyName("area")]
|
|
[SugarColumn(ColumnName = "area")]
|
|
public string? Area { get; set; }
|
|
|
|
/// <summary>
|
|
/// 条码
|
|
/// </summary>
|
|
[JsonPropertyName("code")]
|
|
[SugarColumn(ColumnName = "code")]
|
|
public string? Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标记
|
|
/// </summary>
|
|
[JsonPropertyName("tag")]
|
|
[SugarColumn(ColumnName = "tag")]
|
|
public string? Tag { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扫码时间
|
|
/// </summary>
|
|
[JsonPropertyName("scanTime")]
|
|
[SugarColumn(ColumnName = "scan_time")]
|
|
public DateTime? ScanTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[JsonPropertyName("remark")]
|
|
[SugarColumn(ColumnName = "remark")]
|
|
public string? Remark { get; set; }
|
|
|
|
}
|