|
@@ -0,0 +1,77 @@
|
|
|
+/*
|
|
|
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
|
|
+ *
|
|
|
+ * Redistribution and use in source and binary forms, with or without
|
|
|
+ * modification, are permitted provided that the following conditions are met:
|
|
|
+ *
|
|
|
+ * Redistributions of source code must retain the above copyright notice,
|
|
|
+ * this list of conditions and the following disclaimer.
|
|
|
+ * Redistributions in binary form must reproduce the above copyright
|
|
|
+ * notice, this list of conditions and the following disclaimer in the
|
|
|
+ * documentation and/or other materials provided with the distribution.
|
|
|
+ * Neither the name of the dreamlu.net developer nor the names of its
|
|
|
+ * contributors may be used to endorse or promote products derived from
|
|
|
+ * this software without specific prior written permission.
|
|
|
+ * Author: Chill 庄骞 (smallchill@163.com)
|
|
|
+ */
|
|
|
+package org.springblade.business.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.springblade.core.mp.base.BaseEntity;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 实体类
|
|
|
+ *
|
|
|
+ * @author BladeX
|
|
|
+ * @since 2025-06-10
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@TableName("u_trial_number_rule")
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+public class TrialNumberRule extends BaseEntity {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 项目ID
|
|
|
+ */
|
|
|
+ @ApiModelProperty("项目ID")
|
|
|
+ private Long projectId;
|
|
|
+ /**
|
|
|
+ * 合同段ID
|
|
|
+ */
|
|
|
+ @ApiModelProperty("合同段ID")
|
|
|
+ private Long contractId;
|
|
|
+ /**
|
|
|
+ * 编号规则 1材料 2样品 3委托单 4记录表 5报告表
|
|
|
+ */
|
|
|
+ @ApiModelProperty("编号规则 1材料 2样品 3委托单 4记录表 5报告表")
|
|
|
+ private Integer type;
|
|
|
+ /**
|
|
|
+ * 编号规则
|
|
|
+ */
|
|
|
+ @ApiModelProperty("编号规则")
|
|
|
+ private Integer rule;
|
|
|
+ /**
|
|
|
+ * 数据填充
|
|
|
+ */
|
|
|
+ @ApiModelProperty("数据填充")
|
|
|
+ private String data;
|
|
|
+ /**
|
|
|
+ * 是否自增
|
|
|
+ */
|
|
|
+ @ApiModelProperty("是否自增0否1是")
|
|
|
+ private Integer isAutoIncrement;
|
|
|
+ /**
|
|
|
+ * 排序
|
|
|
+ */
|
|
|
+ @ApiModelProperty("排序")
|
|
|
+ private Integer sort;
|
|
|
+
|
|
|
+
|
|
|
+}
|