package com.yeejoin.amos.fas.dao.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * c_plan_rule
 * @author 
 */
@Data
@Entity
@Table(name="c_plan_rule")
@NamedQuery(name="PlanRule.findAll", query="SELECT e FROM PlanRule e")
public class PlanRule extends BasicEntity {

    /**
     * 规则ID
     */
    @Column(name="rule_id")
    private String ruleId;

    /**
     * 预案ID
     */
    @Column(name="plan_id")
    private Long planId;

    /**
     * 是否删除
     */
    @Column(name="is_delete")
    private Boolean isDelete;

    /**
     * 是否删除
     */
    @Column(name="rule_name")
    private String ruleName;

    /**
     * 是否删除
     */
    @Column(name="pic_url")
    private String picUrl;

    private static final long serialVersionUID = 1L;
}