Table of Contents

Class ProjectVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Project", 20240303)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.NotUseHashTag })]
[AttTableGama(Gamas.Grow)]
[AttTableVOInfo(typeof(ProjectAttInfo))]
[AttTableMaintenance(typeof(ProjectMaintenance))]
public class ProjectVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
ProjectVO

Fields

SOURCETYPE_WWF

public const string SOURCETYPE_WWF = "WWF#PHC"

Field Value

string

Properties

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

ProjectManager

[AttExternalCollection(typeof(UserVO), new string[] { "User.usstamp", "Project.projectManagerName" })]
public UserVO ProjectManager { get; }

Property Value

UserVO

createdUsStamp

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

Property Value

string

description

Description

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

Property Value

string

endDate

End Date

[AttList]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime endDate { get; set; }

Property Value

DateTime

inactive

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool inactive { get; set; }

Property Value

bool

isDone

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

Property Value

bool

projectManagerName

[AttList]
public string projectManagerName { get; set; }

Property Value

string

projectManagerStamp

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string projectManagerStamp { get; set; }

Property Value

string

projectNumber

[AttPrimaryKey]
[AttLenght(10)]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
[AttMandatory]
public int projectNumber { get; set; }

Property Value

int

projectStamp

Unique ID

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

Property Value

string

startDate

Start Date

[AttList]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttMandatory]
public DateTime startDate { get; set; }

Property Value

DateTime

status

[AttVirtualField]
public ProjectStatus status { get; set; }

Property Value

ProjectStatus

statusName

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

Property Value

string

title

Summary

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

Property Value

string

users

Users attending the event

[AttCollection(typeof(ProjectUserVO))]
public List<ProjectUserVO> users { get; set; }

Property Value

List<ProjectUserVO>

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string