public UserRoomRestriction(UserRestrictionType restrictionType, bool isPermanent, DateTime?effectiveTo, AuditInfo created, AuditInfo updated) { RestrictionType = restrictionType; IsPermanent = isPermanent; EffectiveTo = effectiveTo; Created = created; Updated = updated; }
public UserRoomRestrictionBuilder WithRestrictionType(UserRestrictionType restrictionType) { _restrictionType = restrictionType; return(this); }