package com.ruoyi.drill.domain;

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 com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 演习过程对象 drill_process
 *
 * @author ruoyi
 * @date 2023-08-04
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("drill_process")
@ApiModel(value = "演习过程")
public class DrillProcess extends GnhzBaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 演习计划id
     */
    @Excel(name = "演习计划id")
    @ApiModelProperty("演习计划id")
    @TableField(value = "plan_id")
    private String planId;

    /**
     * 内容
     */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    @TableField(value = "content_info")
    private String contentInfo;

    /**
     * 确认状态(1待确认，2已确认)
     */
    @Excel(name = "确认状态(1待确认，2已确认)")
    @ApiModelProperty("确认状态(1待确认，2已确认)")
    @TableField(value = "confirm_status")
    private Long confirmStatus;

    /**
     * 确认人
     */
    @Excel(name = "确认人")
    @ApiModelProperty("确认人")
    @TableField(value = "confirm_by")
    private Long confirmBy;

    /**
     * 确认时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确认时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("确认时间")
    @TableField(value = "confirm_time")
    private Date confirmTime;

    /**
     * 排序
     */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    @TableField(value = "sortd_num")
    private Long sortdNum;
}
