1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
| @Entity @Table(name = "M_WAY_BILL") @Document(indexName = "bos", type = "waybill") public class WayBill implements Serializable{ @Id @GeneratedValue @Column(name = "C_ID") @org.springframework.data.annotation.Id @Field(index = FieldIndex.not_analyzed, store = true, type = FieldType.Integer) private Integer id; @Column(name = "C_WAY_BILL_NUM", unique = true) @Field(index = FieldIndex.not_analyzed, store = true, type = FieldType.String) private String wayBillNum; @OneToOne @JoinColumn(name = "C_ORDER_ID") private Order order;
@Column(name = "C_SEND_NAME") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String sendName; @Column(name = "C_SEND_MOBILE") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String sendMobile; @Column(name = "C_SEND_COMPANY") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String sendCompany; @OneToOne @JoinColumn(name = "C_SEND_AREA_ID") private Area sendArea; @Column(name = "C_SEND_ADDRESS") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String sendAddress;
@Column(name = "C_REC_NAME") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String recName; @Column(name = "C_REC_MOBILE") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String recMobile; @Column(name = "C_REC_COMPANY") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String recCompany; @OneToOne @JoinColumn(name = "C_REC_AREA_ID") private Area recArea; @Column(name = "C_REC_ADDRESS") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String recAddress;
@Column(name = "C_SEND_PRO_NUM") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String sendProNum; @Column(name = "C_GOODS_TYPE") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String goodsType; @Column(name = "C_PAY_TYPE_NUM") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String payTypeNum; @Column(name = "C_WEIGHT") @Field(index = FieldIndex.no, store = true, type = FieldType.String) private Double weight; @Column(name = "C_REMARK") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String remark; @Column(name = "C_NUM") @Field(index = FieldIndex.no, store = true, type = FieldType.String) private Integer num;
@Column(name = "C_ARRIVE_CITY") @Field(index = FieldIndex.analyzed, analyzer = "ik", searchAnalyzer = "ik", store = true, type = FieldType.String) private String arriveCity;
@Column(name = "C_FEEITEMNUM") @Field(index = FieldIndex.no, store = true, type = FieldType.String) private Integer feeitemnum; @Column(name = "C_ACTLWEIT") @Field(index = FieldIndex.no, store = true, type = FieldType.String) private Double actlweit; @Column(name = "C_VOL") @Field(index = FieldIndex.no, store = true, type = FieldType.String) private String vol; @Column(name = "C_FLOADREQR") @Field(index = FieldIndex.no, store = true, type = FieldType.String) private String floadreqr;
@Column(name = "C_WAY_BILL_TYPE") private String wayBillType;
@Column(name = "C_SIGN_STATUS") @Field(index = FieldIndex.not_analyzed, store = true, type = FieldType.String) private Integer signStatus;
@Column(name = "C_DELTAG") private String delTag;
}
|