
package cn.orionsec.ops.entity.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "命令模板表")
@TableName("command_template")
public class CommandTemplateDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模板名称")
    @TableField("template_name")
    private String templateName;

    @ApiModelProperty(value = "命令")
    @TableField("template_value")
    private String templateValue;

    @ApiModelProperty(value = "命令描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "创建用户id")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty(value = "创建用户名")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "修改用户id")
    @TableField("update_user_id")
    private Long updateUserId;

    @ApiModelProperty(value = "修改用户名")
    @TableField("update_user_name")
    private String updateUserName;

    @ApiModelProperty(value = "是否删除 1未删除 2已删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;

}
