package org.well.well.domain;

import javax.persistence.*;
import java.io.Serializable;

/**
 * <p>
 * 人员表
 * </p>
 *
 */
@Entity
@Table(name = "sys_user")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name ="avatar")
    private String avatar;

    @Column(name ="account")
    private String account;

    @Column(name ="password")
    private String password;

    @Column(name ="salt")
    private String salt;

    @Column(name ="name")
    private String name;

    @Column(name ="birthday")
    private String birthday;

    @Column(name ="sex")
    private String sex;

    @Column(name ="email")
    private String email;
    @Column(name ="phone")
    private String phone;
    @Column(name ="roleid")
    private String roleid;
    @Column(name ="deptid")
    private Long deptid;
    @Column(name ="status")
    private String status;
    @Column(name ="createtime")
    private String createtime;
    @Column(name ="version")
    private String version;
    @Column(name ="targetid")
    private String targetid;
    @Column(name ="targetname")
    private String targetname;
    @Column(name ="password_sync")
    private String password_sync;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTargetid() {
        return targetid;
    }

    public void setTargetid(String targetid) {
        this.targetid = targetid;
    }

    public String getTargetname() {
        return targetname;
    }

    public void setTargetname(String targetname) {
        this.targetname = targetname;
    }

    public String getPassword_sync() {
        return password_sync;
    }

    public void setPassword_sync(String password_sync) {
        this.password_sync = password_sync;
    }
}
