public PersonalModel(PersonalModel objCopy)
 {
     if (!isNull(objCopy))
     {
         id = objCopy.id;
     }
 }
Beispiel #2
0
 public UsuarioModel(UsuarioModel objCopy)
 {
     if (objCopy != null)
     {
         id                     = objCopy.id;
         userName               = objCopy.userName;
         password               = objCopy.password;
         relationPersona        = new PersonalModel(objCopy.relationPersona);
         relationRol            = new RolModel(objCopy.relationRol);
         relationCredentialsApi = new CredencialApiModel(objCopy.relationCredentialsApi);
     }
 }
Beispiel #3
0
 public UsuarioModel(long id = default, string userName = "******", string password = "******", PersonalModel relationPersona = null, RolModel relationRol = null, CredencialApiModel relationCredentialsApi = null)
 {
     this.id                     = id;
     this.userName               = userName;
     this.password               = password;
     this.relationPersona        = new PersonalModel(relationPersona);
     this.relationRol            = new RolModel(relationRol);
     this.relationCredentialsApi = new CredencialApiModel(relationCredentialsApi);
 }