package com.mandi.fendan.persist; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.UniqueConstraint; /** * @author cx * @version 创建时间:2017年10月23日 * 类说明 */ @Entity @Table(name="fd_company",uniqueConstraints={@UniqueConstraint(columnNames={"companyNo"})}) public class Fd_Company implements Serializable { @Id private String id; private String cname; private String shortName; private String companyNo; @Temporal(TemporalType.TIMESTAMP) private Date ctime; private String hdpinyin; private String name; private String note; private String pinyin; private boolean hasSPR;//是否可以操作自提单据 public String getId() { return id; } public void setId(String id) { this.id = id; } public String getCname() { return cname; } public void setCname(String cname) { this.cname = cname; } public String getCompanyNo() { return companyNo; } public void setCompanyNo(String companyNo) { this.companyNo = companyNo; } public Date getCtime() { return ctime; } public void setCtime(Date ctime) { this.ctime = ctime; } public String getHdpinyin() { return hdpinyin; } public void setHdpinyin(String hdpinyin) { this.hdpinyin = hdpinyin; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getNote() { return note; } public void setNote(String note) { this.note = note; } public String getPinyin() { return pinyin; } public void setPinyin(String pinyin) { this.pinyin = pinyin; } public boolean isHasSPR() { return hasSPR; } public void setHasSPR(boolean hasSPR) { this.hasSPR = hasSPR; } public String getShortName() { return shortName; } public void setShortName(String shortName) { this.shortName = shortName; } }