package com.bcxin.risk.survey.domain;

import com.bcxin.risk.base.domain.BaseBean;
import lombok.Data;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

/**
 * 整改信息
 * @author Administrator
 *
 */
@Entity
@Table(name = "RISK_SurveyReform")
@Inheritance(strategy = InheritanceType.JOINED)
@Data
public class SurveyReform extends BaseBean {

	private static final long	serialVersionUID	= 1L;

	private String result;//整改结果

	/**  整改照片*/
	@OneToMany(targetEntity = Survey_Photo.class, fetch = FetchType.LAZY, cascade = CascadeType.REMOVE,mappedBy="correction")
    private List<Survey_Photo> correctionPhotos = new ArrayList<Survey_Photo>();


}
