Task
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* Created by change.
* 任务
*/
@Entity
@Table(name = "task")
@Data
public class TaskEntity implements Serializable {
private static final long serialVersionUID = -8305163456196952851L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column
private String target;
@Column
private int type;
@Column(name = "start_at")
private Date startAt;
@Column(name = "end_at")
private Date endAt;
@Column(name = "data_path")
private S