Subversion Repositories SmartDukaan

Rev

Rev 26778 | Rev 26861 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26778 Rev 26779
Line 90... Line 90...
90
 
90
 
91
	@Convert(converter = LocalDateTimeAttributeConverter.class)
91
	@Convert(converter = LocalDateTimeAttributeConverter.class)
92
	@Column(name = "create_timestamp")
92
	@Column(name = "create_timestamp")
93
	private LocalDateTime createTimestamp = LocalDateTime.now();
93
	private LocalDateTime createTimestamp = LocalDateTime.now();
94
 
94
 
95
	@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.LAZY)
-
 
96
	@JoinColumn(name="customer_id",insertable=false,updatable=false,nullable=false)
-
 
97
	@JsonIgnore
95
	@JsonIgnore
-
 
96
	@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER)
-
 
97
	@JoinColumn(name="customer_id",insertable=false,updatable=false,nullable=false)
98
	private List<CustomerAddress> customerAddress;	
98
	private List<CustomerAddress> customerAddress;	
99
	
99
	
100
	public List<CustomerAddress> getCustomerAddress() {
100
	public List<CustomerAddress> getCustomerAddress() {
101
		return customerAddress;
101
		return customerAddress;
102
	}
102
	}