84 lines
2.4 KiB
C#
84 lines
2.4 KiB
C#
using Admin.NET.Core;
|
|
namespace Admin.NET.Application.Entity;
|
|
|
|
/// <summary>
|
|
/// 防伪扫码记录
|
|
/// </summary>
|
|
[SugarTable("antifakerecords","防伪扫码记录")]
|
|
public class AntiFakeRecords : EntityBaseId
|
|
{
|
|
/// <summary>
|
|
/// 条码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Code", ColumnDescription = "条码", Length = 32)]
|
|
public string? Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// IP地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Ip", ColumnDescription = "IP地址", Length = 32)]
|
|
public string? Ip { get; set; }
|
|
|
|
/// <summary>
|
|
/// 城市
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "City", ColumnDescription = "城市", Length = 32)]
|
|
public string? City { get; set; }
|
|
|
|
/// <summary>
|
|
/// 地域信息
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Addr", ColumnDescription = "地域信息", Length = 32)]
|
|
public string? Addr { get; set; }
|
|
|
|
/// <summary>
|
|
/// 城市编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CityCode", ColumnDescription = "城市编码", Length = 32)]
|
|
public string? CityCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 省份
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Pro", ColumnDescription = "省份", Length = 32)]
|
|
public string? Pro { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扫码时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Date", ColumnDescription = "扫码时间")]
|
|
public DateTime? Date { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
|
|
public string? Remarks { get; set; }
|
|
|
|
/// <summary>
|
|
/// 内码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "InternalCode", ColumnDescription = "内码", Length = 32)]
|
|
public string? InternalCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "商品编码", Length = 32)]
|
|
public string? CodeNum { get; set; }
|
|
|
|
/// <summary>
|
|
/// 验证通过
|
|
/// </summary>
|
|
[Required]
|
|
[SugarColumn(ColumnName = "IsPass", ColumnDescription = "验证通过")]
|
|
public bool IsPass { get; set; }
|
|
|
|
/// <summary>
|
|
/// 经纬度
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "LongitudeAndLatitude", ColumnDescription = "经纬度", Length = 32)]
|
|
public string? LongitudeAndLatitude { get; set; }
|
|
|
|
}
|