ปรับปรุงการเก็บ log

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-05-19 21:25:40 +07:00
parent 9f106272c8
commit 0a104bc9c4
7 changed files with 1293 additions and 5 deletions

View File

@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using TTSW.EF;
using TTSW.Utils;
using TTSW.Constant;
using TTSW.Common;
using System.IO;
namespace TodoAPI2.Models
{
public class activity_log_evaEntity
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int id { get; set; }
[MaxLength(191)]
public string log_name { get; set; }
[MaxLength(4000)]
public string description { get; set; }
public int? subject_id { get; set; }
[MaxLength(191)]
public string subject_type { get; set; }
public int? causer_id { get; set; }
[MaxLength(191)]
public string causer_type { get; set; }
[MaxLength(8000)]
public string properties { get; set; }
[MaxLength(191)]
public string ip_address { get; set; }
[MaxLength(191)]
public string mac_address { get; set; }
public DateTime? created_at { get; set; }
public DateTime? updated_at { get; set; }
}
}