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

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

/**
 * Created by win7 on 2016/11/20.
 */
@Entity
@Table(name = "xkl_member", schema = "hanhe_test", catalog = "")
public class XklMemberEntity {
    @Id
    @Column(name = "id")
    private int 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 int companyId;
    @Basic
    @Column(name = "province")
    private int province;
    @Basic
    @Column(name = "city")
    private int city;
    @Basic
    @Column(name = "country")
    private int country;
    @Basic
    @Column(name = "register_by")
    private int registerBy;
    @Basic
    @Column(name = "status")
    private Byte status;
}