Table of Contents

Class InterventionAgentVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("InterventionAgent", 20240104)]
[AttTableProducts(new Products[] { Products.Service })]
[AttTableFlags(new TableFlags[] { TableFlags.TableForJorge })]
public class InterventionAgentVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<InterventionVO>, IParent
Inheritance
InterventionAgentVO

Properties

AgentVO

[AttExternalCollection(typeof(AgentVO), new string[] { "Agent.agentstamp", "InterventionAgent.agentstamp" })]
public AgentVO AgentVO { get; }

Property Value

AgentVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

agentName

[AttVirtualField]
public string agentName { get; set; }

Property Value

string

agentNo

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int agentNo { get; set; }

Property Value

int

agentstamp

Connects to agentstamp that contains this line.

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

Property Value

string

interventionAgentStamp

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

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

Property Value

string

interventionStamp

Connects to interventionStamp that contains this line.

[AttForeignKey(typeof(InterventionVO))]
[AttLenght(25)]
[AttIndex]
public string interventionStamp { get; set; }

Property Value

string

isResponsable

Identifies if the agent is the responsable.

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

Property Value

bool

Remarks

Non Duplicable Field.

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

InterventionVO ParentVO { get; set; }

Returns

InterventionVO