|
@@ -1,5 +1,7 @@
|
|
|
package com.github.jfcloud.gene.sample.entity;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.github.jfcloud.gene.common.entity.BaseEntity;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
@@ -27,11 +29,11 @@ public class SampleInfo extends BaseEntity {
|
|
|
@Schema(description = "状态")
|
|
|
private String status;
|
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.ALWAYS)
|
|
|
@Schema(description = "申请人id")
|
|
|
private Long applicantId;
|
|
|
|
|
|
@Schema(description = "申请人名称")
|
|
|
-
|
|
|
private String applicantName;
|
|
|
|
|
|
@Schema(description = "申请人电话")
|
|
@@ -49,12 +51,14 @@ public class SampleInfo extends BaseEntity {
|
|
|
@Schema(description = "备注")
|
|
|
private String remark;
|
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.ALWAYS)
|
|
|
@Schema(description = "部门负责人Id")
|
|
|
private Long departLeaderId;
|
|
|
|
|
|
@Schema(description = "部门负责人姓名")
|
|
|
private String departLeaderName;
|
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.ALWAYS)
|
|
|
@Schema(description = "项目管理部审核人")
|
|
|
private Long projectManageId;
|
|
|
|