Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

/**
 * One row of the dev/staging password-override bulk download/upload sheet.
 * Columns: Type | Id | Identifier | Password (cleartext).
 */
public class PasswordOverrideRow {

        private String type;        // AUTH_USER | PARTNER
        private int authUserId;     // set for AUTH_USER
        private int retailerId;     // set for PARTNER
        private String identifier;  // email/mobile (auth) or partner name/code
        private String cleartextPassword;

        public PasswordOverrideRow() {
        }

        public PasswordOverrideRow(String type, int authUserId, int retailerId, String identifier,
                        String cleartextPassword) {
                this.type = type;
                this.authUserId = authUserId;
                this.retailerId = retailerId;
                this.identifier = identifier;
                this.cleartextPassword = cleartextPassword;
        }

        public String getType() {
                return type;
        }

        public void setType(String type) {
                this.type = type;
        }

        public int getAuthUserId() {
                return authUserId;
        }

        public void setAuthUserId(int authUserId) {
                this.authUserId = authUserId;
        }

        public int getRetailerId() {
                return retailerId;
        }

        public void setRetailerId(int retailerId) {
                this.retailerId = retailerId;
        }

        public String getIdentifier() {
                return identifier;
        }

        public void setIdentifier(String identifier) {
                this.identifier = identifier;
        }

        public String getCleartextPassword() {
                return cleartextPassword;
        }

        public void setCleartextPassword(String cleartextPassword) {
                this.cleartextPassword = cleartextPassword;
        }
}