|
|
@ -1,13 +1,12 @@
|
|
|
|
package info.bukova.isspst.data;
|
|
|
|
package info.bukova.isspst.data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import info.bukova.isspst.Constants;
|
|
|
|
import info.bukova.isspst.storage.EntityWithAttachment;
|
|
|
|
import info.bukova.isspst.storage.EntityWithAttachment;
|
|
|
|
import org.hibernate.annotations.LazyCollection;
|
|
|
|
|
|
|
|
import org.hibernate.annotations.LazyCollectionOption;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
import org.hibernate.search.annotations.Analyze;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import org.hibernate.search.annotations.Field;
|
|
|
|
import java.util.Date;
|
|
|
|
import org.hibernate.search.annotations.Index;
|
|
|
|
import java.util.List;
|
|
|
|
import org.hibernate.search.annotations.Indexed;
|
|
|
|
|
|
|
|
import org.hibernate.search.annotations.IndexedEmbedded;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.CascadeType;
|
|
|
|
import javax.persistence.CascadeType;
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Column;
|
|
|
@ -17,10 +16,14 @@ import javax.persistence.JoinColumn;
|
|
|
|
import javax.persistence.OneToMany;
|
|
|
|
import javax.persistence.OneToMany;
|
|
|
|
import javax.persistence.OneToOne;
|
|
|
|
import javax.persistence.OneToOne;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import org.hibernate.annotations.LazyCollection;
|
|
|
|
import java.util.Date;
|
|
|
|
import org.hibernate.annotations.LazyCollectionOption;
|
|
|
|
import java.util.List;
|
|
|
|
import org.hibernate.search.annotations.Analyze;
|
|
|
|
|
|
|
|
import org.hibernate.search.annotations.Field;
|
|
|
|
|
|
|
|
import org.hibernate.search.annotations.Index;
|
|
|
|
|
|
|
|
import org.hibernate.search.annotations.Indexed;
|
|
|
|
|
|
|
|
import org.hibernate.search.annotations.IndexedEmbedded;
|
|
|
|
|
|
|
|
|
|
|
|
@Entity
|
|
|
|
@Entity
|
|
|
|
@Table(name = "TRIP_BILL")
|
|
|
|
@Table(name = "TRIP_BILL")
|
|
|
@ -35,7 +38,7 @@ public class TripBill extends BaseData implements EntityWithAttachment {
|
|
|
|
@Column(name = "SIGN_DATE")
|
|
|
|
@Column(name = "SIGN_DATE")
|
|
|
|
private Date signDate;
|
|
|
|
private Date signDate;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "RESULT_MESSAGE")
|
|
|
|
@Column(name = "RESULT_MESSAGE", length = Constants.LEN_RESULT_MESSAGE)
|
|
|
|
@Field(index = Index.YES, analyze = Analyze.YES)
|
|
|
|
@Field(index = Index.YES, analyze = Analyze.YES)
|
|
|
|
private String resultMessage;
|
|
|
|
private String resultMessage;
|
|
|
|
|
|
|
|
|
|
|
|