联系人实体表
Posted lijun6
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了联系人实体表相关的知识,希望对你有一定的参考价值。
package cn.lijun.jpa.entity;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name="cst_linkman")
public class LinkMan implements Serializable
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
@Column(name="lkm_id")
private Long lkmId;
@Column(name="lkm_name")
private String lkmName;
@Column(name="lkm_gender")
private String lkmGender;
@Column(name="lkm_phone")
private String lkmPhone;
@Column(name="lkm_mobile")
private String lkmMobile;
@Column(name="lkm_email")
private String lkmEmail;
@Column(name="lkm_position")
private String lkmPosition;
@Column(name="lkm_memo")
private String lkmMemo;
public Long getLkmId()
return lkmId;
public void setLkmId(Long lkmId)
this.lkmId = lkmId;
public String getLkmName()
return lkmName;
public void setLkmName(String lkmName)
this.lkmName = lkmName;
public String getLkmGender()
return lkmGender;
public void setLkmGender(String lkmGender)
this.lkmGender = lkmGender;
public String getLkmPhone()
return lkmPhone;
public void setLkmPhone(String lkmPhone)
this.lkmPhone = lkmPhone;
public String getLkmMobile()
return lkmMobile;
public void setLkmMobile(String lkmMobile)
this.lkmMobile = lkmMobile;
public String getLkmEmail()
return lkmEmail;
public void setLkmEmail(String lkmEmail)
this.lkmEmail = lkmEmail;
public String getLkmPosition()
return lkmPosition;
public void setLkmPosition(String lkmPosition)
this.lkmPosition = lkmPosition;
public String getLkmMemo()
return lkmMemo;
public void setLkmMemo(String lkmMemo)
this.lkmMemo = lkmMemo;
@Override
public String toString()
return "LinkMan [lkmId=" + lkmId + ", lkmName=" + lkmName + ", lkmGender=" + lkmGender + ", lkmPhone="
+ lkmPhone + ", lkmMobile=" + lkmMobile + ", lkmEmail=" + lkmEmail + ", lkmPosition=" + lkmPosition
+ ", lkmMemo=" + lkmMemo + "]";
以上是关于联系人实体表的主要内容,如果未能解决你的问题,请参考以下文章