Table of Contents

Class WarrantVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Warrants, App or Client. They are application or client certificates, used in various places as communications with AT or banking entities

[AttTable("Warrant", 20210907)]
[AttTableTarget(DBTarget.Home)]
[AttTableVOInfo(typeof(WarrantAttInfo))]
[AttTableOrderBy(OrderFields = "[Warrant].[title],[Warrant].[codid]", COrderType = "A,A")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.RequiresAdminAccess, TableFlags.NotUseHashTag })]
public class WarrantVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
WarrantVO

Properties

codid

This field uniquely identifies the record. Similar to the warrantstamp property but its content is more personalized code and closer to human language.

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

Property Value

string

filedata

Warrant data

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public byte[] filedata { get; set; }

Property Value

byte[]

fileext

File extension

[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string fileext { get; set; }

Property Value

string

filelenght

File length

[AttLenght(12, 3)]
[AttList]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal filelenght { get; set; }

Property Value

decimal

filename

File name

[AttLenght(100)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public string filename { get; set; }

Property Value

string

inactivo

Inactive

[AttList]
public bool inactivo { get; set; }

Property Value

bool

iscompressed

Compressed

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool iscompressed { get; set; }

Property Value

bool

isreadonly

Exclusive use of PHC

[AttPhcOwner(new string[] { "inactivo" })]
public bool isreadonly { get; set; }

Property Value

bool

issuer

Issuer

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string issuer { get; set; }

Property Value

string

notafter

Subject

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public DateTime notafter { get; set; }

Property Value

DateTime

notbefore

Subject

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public DateTime notbefore { get; set; }

Property Value

DateTime

obs

Comments

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

Property Value

string

password

Password

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.password, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string password { get; set; }

Property Value

string

privatekey

Private Key

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden]
public string privatekey { get; set; }

Property Value

string

publickey

Public Key

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string publickey { get; set; }

Property Value

string

subject

Subject

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string subject { get; set; }

Property Value

string

title

Title

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

Property Value

string

warrantstamp

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

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

Property Value

string