XklMemberEntity.java 2.93 KB
package com.xkl.domain;

import lombok.Data;

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

/**
 * Created by win7 on 2016/11/20.
 * 用户信息表
 */
@Data
@Entity
@Table(name = "xkl_member")
public class XklMemberEntity {
    @Id
    @GeneratedValue
    @Column(name = "id")
    private long id;
    @Basic
    @Column(name = "name")
    private String name;
    @Basic
    @Column(name = "sex")
    private Byte sex;
    @Basic
    @Column(name = "birth_date")
    private Date birthDate;
    @Basic
    @Column(name = "idcard")
    private String idcard;
    @Basic
    @Column(name = "phone")
    private String phone;
    @Basic
    @Column(name = "register_time")
    private String registerTime;
    @Basic
    @Column(name = "company_id")
    private long companyId;
    @Basic
    @Column(name = "province")
    private long province;
    @Basic
    @Column(name = "city")
    private long city;
    @Basic
    @Column(name = "country")
    private long country;
    @Basic
    @Column(name = "register_by")
    private long registerBy;
    @Basic
    @Column(name = "status")
    private Byte status;

    public long getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

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

    public Byte getSex() {
        return sex;
    }

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

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPhone() {
        return phone;
    }

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

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(long companyId) {
        this.companyId = companyId;
    }

    public long getProvince() {
        return province;
    }

    public void setProvince(long province) {
        this.province = province;
    }

    public long getCity() {
        return city;
    }

    public void setCity(long city) {
        this.city = city;
    }

    public long getCountry() {
        return country;
    }

    public void setCountry(long country) {
        this.country = country;
    }

    public long getRegisterBy() {
        return registerBy;
    }

    public void setRegisterBy(long registerBy) {
        this.registerBy = registerBy;
    }

    public Byte getStatus() {
        return status;
    }

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