package com.hdkj.lt.core.bizms.modle.po.operationAbnormality;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 运行异常转供场景转供范围计算推演平台结果信息
 *
 * @author lihao
 * @since 2025-07-05
 */
@TableName("fhzg_operation_abnormality_transfer_area_result")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FhzgOperationAbnormalityTransferAreaResult implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "运行异常ID")
    @TableField("oa_id")
    private Long oaId;

    @ApiModelProperty(value = "转供范围结果JSON字符串")
    @TableField("transfer_area_json")
    private String transferAreaJson;

    @ApiModelProperty(value = "创建人")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField("creator")
    private Long creator;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后一次修改人")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField("last_editor")
    private Long lastEditor;

    @ApiModelProperty(value = "最后一次修改时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("last_time")
    private LocalDateTime lastTime;
}
