ISoftDelete.cs 478 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MTWorkHR.Core.Entities.Base
  9. {
  10. public interface ISoftDelete
  11. {
  12. [Column(Order = 7)]
  13. public bool IsDeleted { get; set; }
  14. [MaxLength(450)]
  15. [Column(Order = 8)]
  16. public string DeleteUserId { get; set; }
  17. }
  18. }