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