User.cs 717 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.Text;
  5. namespace ProductionLineMonitor.Core.Models
  6. {
  7. /// <summary>
  8. /// 用户表
  9. /// </summary>
  10. [Table("Users")]
  11. public class User : Base
  12. {
  13. /// <summary>
  14. /// 工号
  15. /// </summary>
  16. public string JobNo { get; set; }
  17. /// <summary>
  18. /// 名称
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 密码
  23. /// </summary>
  24. public string Password { get; set; }
  25. /// <summary>
  26. /// 角色Id
  27. /// </summary>
  28. public string RoleId { get; set; }
  29. }
  30. }