package cn.pluss.platform.dto;

import cn.pluss.platform.entity.UserApp;
import lombok.Data;

/**
 * @author yuchen
 *
 * @Description 
 */
@Data
public class StaffDTO {
	
	private Long id;
	
	private String merchantCode;
	
	private String merchantName;
	
	private String storeId;
	
	private String storeName;
	
	private String phone;
	
	private String loginName;
	
	private String userName;
	
	private String password;
	
	private String verifyPassword;

	public UserApp convert() {
		UserApp userApp=new UserApp();
		userApp.setMerchantCode(merchantCode);
		userApp.setMerchantName(merchantName);
		userApp.setStoreId(storeId);
		userApp.setStoreName(storeName);
		userApp.setPhone(phone);
		userApp.setLoginName(loginName);
		userApp.setUserName(userName);
		userApp.setPassword(password);
		return userApp;
		
	}
	

}

