package com.muyu.fault.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fault_notify",autoResultMap = true)
public class FaultNotify {
    /**
     * ID
     */
    @TableId(value = "fault_notify_id", type= IdType.AUTO)
    @Schema(defaultValue = "ID",type = "Long",description = "ID")
    private Long faultNotifyId;
    /**
     * 通知方
     */
    @Schema(defaultValue = "通知方",type = "String",description = "通知方")
    private String faultNotifyParty;
    /**
     * 联系方式
     */
    @Schema(defaultValue = "联系方式",type = "String",description = "联系方式")
    private String faultNotifyManner;
}
