mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-25 05:54:14 +08:00
17 lines
450 B
C#
17 lines
450 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace detect.gui.Models.Entities;
|
|
|
|
[Table("UserAuthority")]
|
|
[Index(nameof(UserId), IsUnique = false)]
|
|
[Index(nameof(AuthorityId), IsUnique = false)]
|
|
public class UserAuthorityEntity
|
|
{
|
|
[Key] public long? Id { get; set; }
|
|
|
|
public long? UserId { get; set; }
|
|
|
|
public long? AuthorityId { get; set; }
|
|
} |