package com.mandi.fendan.persist; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.Id; import javax.persistence.Index; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.UniqueConstraint; import com.mandi.fendan.util.persist.Serviceenum; /** * @author cx * @version 创建时间:2017年10月23日 * 类说明 */ @Entity @Table(name="fd_bsheet",uniqueConstraints={@UniqueConstraint(columnNames={"fdsheetNo","bsNo"})},indexes={@Index(columnList="companyNo"),@Index(columnList="vehicleId")}) public class Fd_Bsheet implements Serializable{ @Id private String id; private String companyName;//运输公司 private String companyNo;//运输公司编号 private String createName;//创建人 private String createid;//创建人id @Temporal(TemporalType.TIMESTAMP) private Date ctime;//创建时间 private String driver;//司机姓名 private String fdsheetNo;//编号 private String phone;//联系方式 private String vehicleId;//车牌号 private String bsNo;//销售业务单编号 @Enumerated(EnumType.STRING) private Serviceenum status;//业务单状态 private boolean sendmsg;//这个值不用了 private String sdepartNo;//业务单生成的厂区 private String invitecode; private String shdw;//收货单位 @Temporal(TemporalType.TIMESTAMP) private Date updateTime;//修改时间 public String getId() { return id; } public void setId(String id) { this.id = id; } public String getCompanyName() { return companyName; } public void setCompanyName(String companyName) { this.companyName = companyName; } public String getCompanyNo() { return companyNo; } public void setCompanyNo(String companyNo) { this.companyNo = companyNo; } public String getCreateName() { return createName; } public void setCreateName(String createName) { this.createName = createName; } public String getCreateid() { return createid; } public void setCreateid(String createid) { this.createid = createid; } public Date getCtime() { return ctime; } public void setCtime(Date ctime) { this.ctime = ctime; } public String getDriver() { return driver; } public void setDriver(String driver) { this.driver = driver; } public String getFdsheetNo() { return fdsheetNo; } public void setFdsheetNo(String fdsheetNo) { this.fdsheetNo = fdsheetNo; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getVehicleId() { return vehicleId; } public void setVehicleId(String vehicleId) { this.vehicleId = vehicleId; } public String getBsNo() { return bsNo; } public void setBsNo(String bsNo) { this.bsNo = bsNo; } public Serviceenum getStatus() { return status; } public void setStatus(Serviceenum status) { this.status = status; } public boolean isSendmsg() { return sendmsg; } public void setSendmsg(boolean sendmsg) { this.sendmsg = sendmsg; } public String getSdepartNo() { return sdepartNo; } public void setSdepartNo(String sdepartNo) { this.sdepartNo = sdepartNo; } public String getInvitecode() { return invitecode; } public void setInvitecode(String invitecode) { this.invitecode = invitecode; } public String getShdw() { return shdw; } public void setShdw(String shdw) { this.shdw = shdw; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } }