Class UserRoleMappingSqlModel
- Namespace
- OpenSettings.Domains.Sql.Entities
- Assembly
- OpenSettings.dll
Represents a user-role mapping entity.
[Table("UserRoleMappings")]
public class UserRoleMappingSqlModel : EntityBase<int>
- Inheritance
-
UserRoleMappingSqlModel
- Inherited Members
Properties
CreatedBy
The user who created this user-role mapping.
[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }
Property Value
CreatedById
The id of the user who created this user-role mapping.
public Guid? CreatedById { get; set; }
Property Value
- Guid?
Id
[NotMapped]
public int Id { get; set; }
Property Value
Role
The role associated with this mapping.
public virtual UserRoleSqlModel Role { get; set; }
Property Value
RoleId
The id of the associated user role.
public int RoleId { get; set; }
Property Value
UpdatedOn
[NotMapped]
public DateTime? UpdatedOn { get; set; }
Property Value
User
The user associated with this mapping.
public virtual UserSqlModel User { get; set; }
Property Value
UserId
The id of the associated user.
public Guid UserId { get; set; }