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
cellPhone
Mobile
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string cellPhone { get; set; }
Property Value
Remarks
Length 45.
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.email)]
[AttList(Inactive = true)]
public string email { get; set; }
Property Value
Remarks
Length 45.
inactive
Inactive register
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }
Property Value
obs
Comments
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }
Property Value
Remarks
Relevant comments about the customer.
organizationName
The name of the organization
[AttVirtualField(typeof(PersonAttInfo))]
[AttList]
public string organizationName { get; set; }
Property Value
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
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
personName
Person name.
[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string personName { get; set; }
Property Value
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
personStamp
This field uniquely identifies the record (primary key by default)
[AttLenght(25)]
public string personStamp { get; set; }
Property Value
phone
Phone
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string phone { get; set; }
Property Value
Remarks
Length 45.
role
Person function
[AttLenght(50)]
public string role { get; set; }
Property Value
socialmedia
SocialMedia Address.
[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string socialmedia { get; set; }
Property Value
Remarks
Length 100.
treatment
[AttLenght(50)]
[AttList]
public string treatment { get; set; }
Property Value
url
Internet Address.
[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string url { get; set; }
Property Value
Remarks
Length 100.