647556386
9 天以前 70aa9b5ca249a84e5867912d551cdafbec76e54e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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;
 
        
    }
 
}