Added [Auditable] attribute to the Chat entity to enable auditing functionality. Created a new migration (AddAuditableToChat) that adds InsertTime, IsRemoved, and RemoveTime columns to the Chat table, along with the necessary database schema updates to support the auditing behavior.
14 lines
324 B
C#
14 lines
324 B
C#
using Complex.Domain.Commons;
|
|
|
|
namespace Complex.Domain.Entities
|
|
{
|
|
[Auditable]
|
|
public class Chat:BaseEntity<long>
|
|
{
|
|
public Guid ComplexId { set; get; }
|
|
public string PersonMobileNumber { set; get; }
|
|
public string Body { set; get; }
|
|
public byte ChatTypeId { set; get; }
|
|
}
|
|
}
|