ปรับปรุงการเก็บ log
This commit is contained in:
49
Models/activity_log_evaEntity.cs
Normal file
49
Models/activity_log_evaEntity.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user