Table of Contents

Class TagVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entidade que representa uma etiqueta.

[AttTable("tag", 20240101, "entityType", AttTable.MaintenanceOrders.Rep)]
[AttTableTarget(DBTarget.Home)]
[AttTableVOInfo(typeof(TagAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.CanUpdFromSourceBD, TableFlags.SystemVO, TableFlags.NotSaveLog, TableFlags.AddOnNotCustomizable, TableFlags.HasRecordsByEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount })]
[AttTableGama(Gamas.Corporate)]
public class TagVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
TagVO

Properties

enabled

Activo

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

Property Value

bool

Remarks

Indica se o relatório se encontra disponível para ser usado nas impressões.

Length 1 .

Non Duplicable Field

entityName

[AttLocale(typeof(TagAttInfo), new string[] { "[tag].[entityType]" })]
[AttVirtualField]
[AttList]
public string entityName { get; set; }

Property Value

string

entityType

[AttLenght(25)]
[AttIndex]
[AttMandatory]
public virtual string entityType { get; set; }

Property Value

string

isReadOnly

Modo de leitura

[AttPhcOwner(new string[] { "enabled" })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isReadOnly { get; set; }

Property Value

bool

Remarks

Indica se o relatório se encontra em modo de leitura. Caso o valor seja "true", indica que é um relatório gerado pela PHC.

Este campo é reservado para uso da PHC exclusivamente.

Non Duplicable Field

tagcolumns

Numero de colunas

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMaxValue(20)]
[AttMinValue(1)]
public int tagcolumns { get; set; }

Property Value

int

tagdirection

TagFormat

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public Direction tagdirection { get; set; }

Property Value

Direction

tagfields

Colecção dos campos presentes nas etiquetas.

[AttCollection(typeof(ReportEditVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[reportedit].[basereportstamp]", "[tag].[tagstamp]" })]
public List<ReportEditVO> tagfields { get; set; }

Property Value

List<ReportEditVO>

Remarks

This field is a collection of type List (Of ReportEditVO).

ReportEditVO

tagheight

Margem superior

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(1)]
public decimal tagheight { get; set; }

Property Value

decimal

taglandscape

Modo paisagem

[AttLenght(1)]
public bool taglandscape { get; set; }

Property Value

bool

Remarks

Indica se a etiqueta deverá ser gerado em modo paisagem. Neste modo, os valores da altura e largura são invertidos.

Length 1.

true

taglateralmargem

Margem superior

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(1)]
public decimal taglateralmargem { get; set; }

Property Value

decimal

tagname

Nome do relatório

[AttLenght(50)]
[AttLogInfo(0)]
[AttMandatory]
[AttList]
public string tagname { get; set; }

Property Value

string

Remarks

Contém o nome do relatório.

Length 50 .

tagpageformat

TagFormat

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public PageFormat tagpageformat { get; set; }

Property Value

PageFormat

tagpageformatName

Name TagPageSize

[AttLenght(50)]
[AttLocale(typeof(TagAttInfo), new string[] { "[tag].[tagpageformat]" })]
[AttList(Inactive = true)]
public string tagpageformatName { get; set; }

Property Value

string

tagpagesize

TagPageSize

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public PageSize tagpagesize { get; set; }

Property Value

PageSize

tagpagesizeName

Name TagPageSize

[AttLenght(50)]
[AttLocale(typeof(TagAttInfo), new string[] { "[tag].[tagpagesize]" })]
[AttList(Inactive = true)]
public string tagpagesizeName { get; set; }

Property Value

string

tagrows

Numero de linhas

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMaxValue(20)]
[AttMinValue(1)]
public int tagrows { get; set; }

Property Value

int

tagspace

Margem superior

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(1)]
public decimal tagspace { get; set; }

Property Value

decimal

tagstamp

Stamp do relatório

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

Property Value

string

Remarks

Contém o valor do do stamp do relatório.

This field is primary key.

Length 25.

tagsuperiormargin

Margem superior

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(1)]
public decimal tagsuperiormargin { get; set; }

Property Value

decimal

tagwidth

Margem superior

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(1)]
public decimal tagwidth { get; set; }

Property Value

decimal