package cn.reghao.bnt.web.admin.model.po;

import cn.reghao.bnt.web.util.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import jakarta.validation.constraints.NotBlank;

/**
 * @author reghao
 * @date 2021-03-18 21:01:46
 */
@Setter
@Getter
@Entity
@Table(name = "sys_notify_webhook")
public class Webhook extends BaseEntity {
    @Column(nullable = false, unique = true)
    private String name;
    @NotBlank
    private String url;
    private String sign;
}
