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

import com.rf.psychological.base.model.BaseEntity;
import lombok.*;

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

/**
 * @Author:zzf
 * @Date:2022/6/22:15:32
 * @Description:测试计划消息提醒
 */
@Entity
@Data
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@Table(name = "t_plan_message")
@org.hibernate.annotations.Table(appliesTo = "t_plan_message", comment = "测试计划消息提醒")
public class PlanMessageEntity extends BaseEntity {
    @Column(name = "plan_id",columnDefinition = "varchar(36) not null comment '计划id'")
    private String planId;
    @Column(name = "notice_time",columnDefinition = "varchar(20) not null comment '提醒时间'")
    private String noticeTime;
    @Column(name = "afc",columnDefinition = "varchar(2) not null comment '开关：0-关 1-开'")
    private String afc;
    @Column(name = "status",columnDefinition = "varchar(2) not null comment '状态：0-未提醒 1-已提醒'")
    private String status;
    @Column(name = "orders",columnDefinition = "int not null comment '序号'")
    private int orders;
}
