Class TenantBranch
public class TenantBranch
- Inheritance
-
objectTenantBranch
Properties
Address
public string? Address { get; }
Property Value
- string
CreatedAt
public DateTime CreatedAt { get; }
Property Value
- DateTime
Id
public Guid Id { get; }
Property Value
- Guid
IsActive
public bool IsActive { get; }
Property Value
- bool
IsDefault
public bool IsDefault { get; }
Property Value
- bool
LogoUrl
public string? LogoUrl { get; }
Property Value
- string
Name
public string Name { get; }
Property Value
- string
Phone
public string? Phone { get; }
Property Value
- string
Rnc
public string? Rnc { get; }
Property Value
- string
Slug
public string Slug { get; }
Property Value
- string
Tenant
public Tenant Tenant { get; set; }
Property Value
TenantId
public Guid TenantId { get; }
Property Value
- Guid
UpdatedAt
public DateTime? UpdatedAt { get; }
Property Value
- DateTime?
UserTenantBranches
public ICollection<UserBranch> UserTenantBranches { get; set; }
Property Value
- ICollection<UserBranch>
Methods
Activate()
public void Activate()
Create(Guid, string, string, string?, string?, bool)
public static TenantBranch Create(Guid tenantId, string name, string slug, string? address, string? phone, bool isDefault)
Parameters
tenantIdGuidnamestringslugstringaddressstringphonestringisDefaultbool
Returns
Deactivate()
public void Deactivate()
RemoveDefault()
public void RemoveDefault()
SetAsDefault()
public void SetAsDefault()
Update(string, string?, string?)
public void Update(string name, string? address, string? phone)
Parameters
namestringaddressstringphonestring
UpdateProfile(string?, string?)
US#8989 — paso 1 del wizard de onboarding: RNC y logo del tenant.
public void UpdateProfile(string? rnc, string? logoUrl)
Parameters
rncstringlogoUrlstring
UpdateSlug(string)
public void UpdateSlug(string slug)
Parameters
slugstring