Table of Contents

Class PersonVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("person", 20240106)]
[AttTableProducts(new Products[] { Products.Service, Products.CRM })]
[AttTableOrderBy(OrderFields = "[person].[personName]", COrderType = "A")]
[AttTableVOInfo(typeof(PersonAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
public class PersonVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
PersonVO

Properties

OrganizationVO

[AttExternalCollection(typeof(OrganizationVO), new string[] { "organizationstamp", "organizationStamp" })]
public OrganizationVO OrganizationVO { get; }

Property Value

OrganizationVO

cellPhone

Mobile

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string cellPhone { get; set; }

Property Value

string

Remarks

Length 45.

email

E-mail

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.email)]
[AttList(Inactive = true)]
public string email { get; set; }

Property Value

string

Remarks

Length 45.

inactive

Inactive register

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }

Property Value

bool

obs

Comments

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

Remarks

Relevant comments about the customer.

organizationName

The name of the organization

[AttVirtualField(typeof(PersonAttInfo))]
[AttList]
public string organizationName { get; set; }

Property Value

string

organizationNumber

The organization number

[AttLenght(15)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttVirtualField(typeof(PersonAttInfo))]
[AttList]
public decimal organizationNumber { get; set; }

Property Value

decimal

organizationStamp

This is the field to connect with organization table

[AttLenght(25)]
[AttMandatory]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(OrganizationVO), HiddenField = false)]
public string organizationStamp { get; set; }

Property Value

string

personName

Person name.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string personName { get; set; }

Property Value

string

Remarks

Field available in the basic search results list.

Searchable field.

Mandatory field.

personNumber

The person number

[AttLenght(15)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttLogInfo(1)]
[AttList]
public decimal personNumber { get; set; }

Property Value

decimal

personStamp

This field uniquely identifies the record (primary key by default)

[AttLenght(25)]
public string personStamp { get; set; }

Property Value

string

phone

Phone

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string phone { get; set; }

Property Value

string

Remarks

Length 45.

role

Person function

[AttLenght(50)]
public string role { get; set; }

Property Value

string

socialmedia

SocialMedia Address.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string socialmedia { get; set; }

Property Value

string

Remarks

Length 100.

treatment

[AttLenght(50)]
[AttList]
public string treatment { get; set; }

Property Value

string

url

Internet Address.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string url { get; set; }

Property Value

string

Remarks

Length 100.