SysUserRole.cs 372 B

123456789101112131415161718
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. namespace ERP.Core.Entities
  3. {
  4. [Table("sys_user_role")]
  5. public class SysUserRole
  6. {
  7. /// <summary>
  8. /// 用户Id
  9. /// </summary>
  10. public long UserId { get; set; }
  11. /// <summary>
  12. /// 角色Id
  13. /// </summary>
  14. public long RoleId { get; set; }
  15. }
  16. }