export abstract class User
{
   private _salt: string = "";
   private _identitycard: string = "";
   private _password: string = "";
   private _username: string = "";
   private _completename: string = "";

   public get salt(): string {
    return this._salt;
}
    public set salt(value: string) {
            this._salt = value;
     }

    public get identitycard(): string {
        return this._identitycard;
    }
    public set identitycard(value: string) {
        this._identitycard = value;
    }
 
    public get completename(): string {
        return this._completename;
    }
    public set completename(value: string) {
        this._completename = value;
    }
   
    public get username(): string {
        return this._username;
    }
    public set username(value: string) {
        this._username = value;
    }
 
    public get password(): string {
        return this._password;
    }
    public set password(value: string) {
        this._password = value;
    }

    
    constructor(psalt:string,pidentitycard:string,pcompletename:string,ppasword:string,pusername:string)
    {
        this.salt=psalt;
        this.identitycard=pidentitycard;
        this.username=pusername;
        this.completename=pcompletename;
        this.password=ppasword;
    }

}