package com.dxhy.admin.sys.model;

import java.io.Serializable;
import java.util.List;

import com.dxhy.admin.sys.entity.*;
import com.dxhy.common.vo.TaxOrgCode;

import lombok.Data;

/**
 * 用户信息
 *
 * @author jiaohongyang
 */
@Data
public class User implements Serializable {
    private Long userId;

    private String loginname;

    private String username;

    private String password;

    private String email;

    private String mobile;

    private String number;

    private String name;

    private Integer status;

    private String createTime;

    private SysDeptEntity dept;

    private String company;

    private List<SysRoleEntity> roles;

    private List<SysUserOrgEntity> userOrg;

    private List<TaxOrgCode> orgCodes;

    private List<SysUserBusinessEntity> userBusiness;

    private List<UserModel> userModels;

    private List<SysCompanyEntity> companyCodes;

    private String qsStatus;

    private String webscoketUrl;

    /**
     * 用户类型 1--购方用户 2--供应商
     */
    private String userType;

    /**
     * 销方税号
     */
    private String taxno;

    private String userCode;

    /**
     * 专票限额
     */
    private String zpAmount;
    /**
     * 普票限额
     */
    private String ppAmount;
    /**
     * 开票类型 01--专票 04 --普票 00 -- 即开专票又开普票
     */
    private String kpType;
    /**
     * 开票人
     */
    private String kpUser;
    /**
     * 收款人
     */
    private String skUser;
    /**
     * 复核人
     */
    private String fhUser;
    /**
     * 税盘类型 1--金税盘 2--税控盘
     */
    private String spType;
    /**
     * 税盘编号
     */
    private String spCode;

    /**
     * 数字证书密码
     */
    private String certPassword;
    /**
     * 数字证书密码
     */
    private String taxPassword;

    /**
     * 类型
     */
    private String productType;

}
