package com.rf.psychological.plan.dao.model;

import com.rf.psychological.base.model.BaseEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

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

@Entity
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@Table(name = "t_plan_group")
@org.hibernate.annotations.Table(appliesTo = "t_plan_group", comment = "测试计划用户组")
@DynamicUpdate
/**
 * 测试计划--用户组
 */
public class PlanGroupEntry extends BaseEntity {

    @Column(name = "plan_id",columnDefinition = "varchar(36) not null comment '计划编号'")
    private String planId;
    @Column(name = "group_id",columnDefinition = "varchar(36) not null comment '分组编号'")
    private String groupId;

}
