Class UserVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
User
[AttTable("US", 20240328)]
[AttTableTarget(DBTarget.Home)]
[AttTableOrderBy("username")]
[AttTableMaintenance(typeof(UserMaintenance))]
[AttTableVOInfo(typeof(UserAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.RequiresAdminAccess, TableFlags.TableForJorge, TableFlags.UseImagePicker, TableFlags.NotUseHashTag })]
public class UserVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
UserVO
Remarks
Entity that manages user properties
Properties
AgentVO
[AttExternalCollection(typeof(AgentVO))]
public AgentVO AgentVO { get; }
Property Value
Cm3VO
[AttExternalCollection(typeof(Cm3VO))]
public Cm3VO Cm3VO { get; }
Property Value
EmployeeVO
[AttExternalCollection(typeof(EmployeeVO))]
public EmployeeVO EmployeeVO { get; }
Property Value
ImageInfoVO
[AttExternalCollection(typeof(ImageInfoVO), new string[] { "iflstamp", "imagestamp" })]
public ImageInfoVO ImageInfoVO { get; }
Property Value
PHCNotifyNotifications
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool PHCNotifyNotifications { get; set; }
Property Value
accessToken
CallBack Token for Oauth login
public string accessToken { get; set; }
Property Value
aextpw
[AttHidden]
[AttLenght(80)]
public string aextpw { get; set; }
Property Value
agent
[AttLenght(6)]
[AttEntityAvailable(typeof(AgentVO))]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int agent { get; set; }
Property Value
agentnm
[AttLenght(40)]
[AttEntityAvailable(typeof(AgentVO))]
public string agentnm { get; set; }
Property Value
assocemployeestamp
[AttVirtualField]
public string assocemployeestamp { get; set; }
Property Value
assocuseremployeenm
[AttVirtualField]
public string assocuseremployeenm { get; set; }
Property Value
authAttempts
[AttLenght(2)]
public int authAttempts { get; set; }
Property Value
authDevices
[AttCollection(typeof(AuthDeviceVO))]
public List<AuthDeviceVO> authDevices { get; set; }
Property Value
codpais
Código de pais
Contém o código de pais do utilizador .
[AttLenght(4)]
[AttHidden]
public string codpais { get; set; }
Property Value
Remarks
Length 4 .
nomeabrvcompactMode
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool compactMode { get; set; }
Property Value
companies
[AttCollection(typeof(UserCompanyVO))]
public List<UserCompanyVO> companies { get; set; }
Property Value
dpt
[AttLenght(20)]
[AttList]
public string dpt { get; set; }
Property Value
[AttLenght(100)]
[AttMandatory]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.email)]
[AttList]
public string email { get; set; }
Property Value
emailNotifications
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool emailNotifications { get; set; }
Property Value
employeenm
Deprecated. This property is deprecated and will be removed in future versions.
[AttLenght(40)]
[AttEntityAvailable(typeof(EmployeeVO))]
public string employeenm { get; set; }
Property Value
employeestamp
Deprecated. This property is deprecated and will be removed in future versions.
[AttLenght(40)]
[AttEntityAvailable(typeof(EmployeeVO))]
public string employeestamp { get; set; }
Property Value
esa
public bool esa { get; set; }
Property Value
firstlogin
[AttFieldType(AttFieldType.InputTypes.fullDate)]
[AttHidden]
public DateTime firstlogin { get; set; }
Property Value
hash
Hash única que permite identificar um utilizador para o primeiro login
[AttLenght(25)]
public string hash { get; set; }
Property Value
imagestamp
[AttLenght(25)]
[AttForeignKey(typeof(ImageInfoVO), HiddenField = false)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.image)]
public string imagestamp { get; set; }
Property Value
inactivo
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool inactivo { get; set; }
Property Value
iniciais
[AttLenght(3)]
[AttMandatory]
public string iniciais { get; set; }
Property Value
isContabUser
[AttVirtualField]
public bool isContabUser { get; set; }
Property Value
isOauthProvider
[AttVirtualField]
[AttHidden]
public bool isOauthProvider { get; set; }
Property Value
isreadonly
[AttPhcOwner]
public bool isreadonly { get; set; }
Property Value
jaini
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool jaini { get; set; }
Property Value
lastWorkPlaceLogin
[AttFieldType(AttFieldType.InputTypes.fullDate)]
[AttHidden]
public DateTime lastWorkPlaceLogin { get; set; }
Property Value
leftHanded
indica se o utilizador é canhoto
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden]
public bool leftHanded { get; set; }
Property Value
leftMenu
If she menu is shown on the left side
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden]
public bool leftMenu { get; set; }
Property Value
notifypw
[AttLenght(250)]
[AttFieldType(AttFieldType.InputTypes.password)]
public string notifypw { get; set; }
Property Value
notifytk
[AttLenght(254)]
public string notifytk { get; set; }
Property Value
notifyus
[AttLenght(100)]
public string notifyus { get; set; }
Property Value
oauthTime
public string oauthTime { get; set; }
Property Value
passnewformat
[AttHidden]
public bool passnewformat { get; set; }
Property Value
passwordExpirationDate
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime passwordExpirationDate { get; set; }
Property Value
passwordNeverExpire
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool passwordNeverExpire { get; set; }
Property Value
refint
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refint { get; set; }
Property Value
refreshToken
CallBack Refresh Token for Oauth login
public string refreshToken { get; set; }
Property Value
resetNotify
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool resetNotify { get; set; }
Property Value
roles
[AttCollection(typeof(RoleUserVO))]
public List<RoleUserVO> roles { get; set; }
Property Value
shortcuts
[AttCollection(typeof(ShortcutsVO))]
public List<ShortcutsVO> shortcuts { get; set; }
Property Value
smtpPass
SMTP Password
[AttLenght(60)]
[AttFieldType(AttFieldType.InputTypes.password)]
public string smtpPass { get; set; }
Property Value
smtpPort
SMTP Port
[AttLenght(6)]
public int smtpPort { get; set; }
Property Value
smtpSSL
Check if SMTP server uses SSL
public bool smtpSSL { get; set; }
Property Value
smtpServer
SMTP Server
[AttLenght(120)]
public string smtpServer { get; set; }
Property Value
smtpServerName
SMTP Server name
[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string smtpServerName { get; set; }
Property Value
smtpUser
SMTP User
[AttLenght(60)]
public string smtpUser { get; set; }
Property Value
theme
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public Theme theme { get; set; }
Property Value
tipofiltro
[AttLenght(1)]
[AttGama(Gamas.Advanced)]
public int tipofiltro { get; set; }
Property Value
tlmvl
[AttLenght(45)]
[AttList(Inactive = true)]
public string tlmvl { get; set; }
Property Value
twofaactive
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool twofaactive { get; set; }
Property Value
userHierarchys
[AttCollection(typeof(UserHierarchyVO))]
public List<UserHierarchyVO> userHierarchys { get; set; }
Property Value
userassociations
[AttCollection(typeof(UserAssociationsVO))]
public UserAssociationsVO userassociations { get; set; }
Property Value
usercode
[AttLenght(20)]
[AttMandatory]
[AttIndex(true)]
[AttLogInfo(0)]
[AttList]
public string usercode { get; set; }
Property Value
username
[AttLenght(30)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string username { get; set; }
Property Value
userno
[AttLenght(6)]
[AttPrimaryKey]
[AttList]
public int userno { get; set; }
Property Value
usstamp
[AttLenght(25)]
public string usstamp { get; set; }
Property Value
vendedor
[AttLenght(6)]
[AttEntityAvailable(typeof(Cm3VO))]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int vendedor { get; set; }
Property Value
vendnm
[AttLenght(40)]
[AttEntityAvailable(typeof(Cm3VO))]
public string vendnm { get; set; }
Property Value
workPlaceAvailable
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden]
public bool workPlaceAvailable { get; set; }