CmUserLoginHistory.cs 803 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities {
  6. public partial class CmUserLoginHistory {
  7. [Key]
  8. public int LoginHistoryId { get; set; }
  9. public int SiteId { get; set; }
  10. [Required]
  11. [StringLength(24)]
  12. public string UserId { get; set; }
  13. [Required]
  14. [StringLength(10)]
  15. public string Type { get; set; }
  16. [Column(TypeName = "datetime")]
  17. public DateTime TraceTime { get; set; }
  18. [StringLength(16)]
  19. public string IpAddress { get; set; }
  20. [ForeignKey("UserId")]
  21. [InverseProperty("CmUserLoginHistory")]
  22. public virtual CmUser CmUser { get; set; }
  23. }
  24. }