using Newtonsoft.Json;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models.Outbound
|
{
|
|
/// <summary>
|
/// 接口日志记录表
|
/// </summary>
|
[SugarTable("Dt_InterfaceLog")]
|
public class Dt_InterfaceLog : BaseEntity
|
{
|
/// <summary>
|
/// 主键ID(自增)
|
/// </summary>
|
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
public long Id { get; set; }
|
|
/// <summary>
|
/// 订单号
|
/// </summary>
|
[SugarColumn(ColumnName = "OrderNo", Length = 100, IsNullable = false)]
|
[Required(ErrorMessage = "订单号不能为空")]
|
public string OrderNo { get; set; }
|
|
/// <summary>
|
/// 文档号
|
/// </summary>
|
[SugarColumn(ColumnName = "DocumentNo", Length = 100, IsNullable = true)]
|
public string? DocumentNo { get; set; }
|
|
/// <summary>
|
/// 订单类型
|
/// </summary>
|
[SugarColumn(ColumnName = "OrderType", Length = 50, IsNullable = true)]
|
[Required(ErrorMessage = "订单类型不能为空")]
|
public string OrderType { get; set; }
|
|
/// <summary>
|
/// JSON内容
|
/// </summary>
|
[SugarColumn(ColumnName = "Content", IsNullable = true, ColumnDataType = "nvarchar(max)")]
|
[Required(ErrorMessage = "内容不能为空")]
|
public string Content { get; set; }
|
|
|
|
public int ReturnToMESStatus { get; set; }
|
/// <summary>
|
/// 软删除标志
|
/// </summary>
|
[SugarColumn(ColumnName = "IsDeleted", IsNullable = false)]
|
public bool IsDeleted { get; set; } = false;
|
|
|
}
|
|
}
|