package com.qyft.ms.model.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.qyft.ms.system.common.base.BaseEntity; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import lombok.Data; import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = true) @Schema(description = "实验") @TableName("tasks") @Data public class Tasks extends BaseEntity { @NotBlank @Schema(description = "实验名称") private String name; @NotBlank @Schema(description = "开始时间") private String startTime; @Schema(description = "创建人") private Long createUser; @Schema(description = "结束时间") private String endTime; @Schema(description = "状态 1 执行中 2 执行完毕") private Integer status; @Schema(description = "是否删除 0 未删除 1 已删除") private Integer isDeleted; }