Class GenAiTemplatesVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
[AttTable("GenAiTemplates", 20240419)]
[AttTableProducts(new Products[] { Products.GenAIPack })]
[AttTableGama(Gamas.Advanced)]
[AttTableVOInfo(typeof(GenAiTemplatesAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
public class GenAiTemplatesVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
GenAiTemplatesVO
Properties
FusqlVO
[AttExternalCollection(typeof(FusqlVO))]
public FusqlVO FusqlVO { get; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
MapDefCabVO
[AttExternalCollection(typeof(MapDefCabVO))]
public MapDefCabVO MapDefCabVO { get; }
Property Value
RoleVO
[AttExternalCollection(typeof(RoleVO), new string[] { "[PF].[pfstamp]", "[GenAiTemplates].[pfstamp]" })]
public RoleVO RoleVO { get; }
Property Value
UserVO
[AttExternalCollection(typeof(UserVO), new string[] { "[US].[usstamp]", "[GenAiTemplates].[usstamp]" })]
public UserVO UserVO { get; }
Property Value
aiModel
This field allows choosing the GPT model
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public GenAiApi.AiModelEnum aiModel { get; set; }
Property Value
aiResponseSize
This field identifies the temperature maded on the question
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public GenAiApi.AiResponseSizeEnum aiResponseSize { get; set; }
Property Value
aiTemperature
This field identifies the temperature maded on the question
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public GenAiApi.AiTemperatureEnum aiTemperature { get; set; }
Property Value
contextGenAI
This field identifies the context maded
[AttFieldType(AttFieldType.InputTypes.memo)]
public string contextGenAI { get; set; }
Property Value
design
Design of the EmailTemplate
[AttFieldType(AttFieldType.InputTypes.memo)]
public string design { get; set; }
Property Value
entity
Entity name
[AttLenght(60)]
[AttMandatory]
public string entity { get; set; }
Property Value
Remarks
Searchable field.
Field available in the basic search results list.
Mandatory field.
Length 60.
entityName
[AttLocale(typeof(GenAiTemplatesAttInfo), new string[] { "[GenAiTemplates].[entity]" })]
[AttList]
[AttVirtualField]
public string entityName { get; set; }
Property Value
genAiTempEntityType
[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList(Hidden = true)]
public GenAiApi.GenAiEntityTypeEnum genAiTempEntityType { get; set; }
Property Value
genAiTempReportType
[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public GenAiApi.GenAiReportTypeEnum genAiTempReportType { get; set; }
Property Value
genaitemplatesStamp
This field uniquely identifies the record (primary key by default)
[AttLenght(25)]
public string genaitemplatesStamp { get; set; }
Property Value
inactive
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }
Property Value
isListMode
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isListMode { get; set; }
Property Value
isToIgnoreContext
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isToIgnoreContext { get; set; }
Property Value
isreadonly
If the Template is "ReadOnly" (i.e. was created by PHC)
[AttPhcOwner(new string[] { "inactive" })]
[AttList(Inactive = true)]
public bool isreadonly { get; set; }
Property Value
Remarks
This field is for PHC internal use only.
name
Name of the Template
[AttLenght(50)]
[AttMandatory]
[AttList]
public string name { get; set; }
Property Value
pfname
[AttLenght(60)]
[AttVirtualField]
public string pfname { get; set; }
Property Value
pfstamp
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttIndex]
public string pfstamp { get; set; }
Property Value
question
This field identifies the question maded
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.memo)]
public string question { get; set; }
Property Value
reportName
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string reportName { get; set; }
Property Value
reportStamp
[AttLenght(25)]
public string reportStamp { get; set; }
Property Value
roletype
[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Hidden = true)]
public RoleTypes roletype { get; set; }
Property Value
roletypename
[AttLenght(60)]
[AttLocale(typeof(GenAiTemplatesAttInfo), new string[] { "[GenAiTemplates].[roletype]" })]
public string roletypename { get; set; }
Property Value
usname
[AttLenght(60)]
[AttVirtualField]
public string usname { get; set; }
Property Value
usstamp
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttIndex]
[AttList(Hidden = true)]
public string usstamp { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |