XklMemberEntity.java 1.16 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", schema = "hanhe_test", catalog = "")
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;
}