|
@@ -179,11 +179,37 @@ public class Module extends Entity<Long> {
|
|
|
@TableField(exist = false)
|
|
|
private String specificationDesc;
|
|
|
|
|
|
+ /**
|
|
|
+ * 是否CNC(1-是0-否)
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "是否CNC(1-是0-否)")
|
|
|
+ @TableField(value = "cnc_flag", condition = LIKE)
|
|
|
+ @Length(max = 4, message = "是否CNC(1-是0-否)长度不能超过4")
|
|
|
+ private String cncFlag;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 机床程序路径
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机床程序路径")
|
|
|
+ @TableField(value = "cnc_file_path", condition = LIKE)
|
|
|
+ @Length(max = 254, message = "机床程序路径长度不能超过254")
|
|
|
+ private String cncFilePath;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * cnc数控系统
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "cnc数控系统")
|
|
|
+ @TableField(value = "cnc_system", condition = LIKE)
|
|
|
+ @InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.MODEL_CNC_SYSTEM)
|
|
|
+ @Length(max = 64, message = "cnc数控系统64")
|
|
|
+ private RemoteData<String, String> cncSystem;
|
|
|
+
|
|
|
|
|
|
@Builder
|
|
|
public Module(Long id, LocalDateTime createTime, Long createUser, LocalDateTime updateTime, Long updateUser,
|
|
|
String name, String no, RemoteData<String, String> joinAgreement, RemoteData<String, String> netMode, RemoteData<String, String> nodeType,
|
|
|
- RemoteData<String, String> category, String status, String remark, String specificationId, String model, String brandId, String secret) {
|
|
|
+ RemoteData<String, String> category, String status, String remark, String specificationId, String model, String brandId, String secret,
|
|
|
+ String cncFlag, String cncFilePath, RemoteData<String, String> cncSystem) {
|
|
|
this.id = id;
|
|
|
this.createTime = createTime;
|
|
|
this.createUser = createUser;
|
|
@@ -201,6 +227,12 @@ public class Module extends Entity<Long> {
|
|
|
this.model = model;
|
|
|
this.brandId = brandId;
|
|
|
this.secret = secret;
|
|
|
+ this.model = model;
|
|
|
+ this.brandId = brandId;
|
|
|
+ this.secret = secret;
|
|
|
+ this.cncFlag = cncFlag;
|
|
|
+ this.cncFilePath = cncFilePath;
|
|
|
+ this.cncSystem = cncSystem;
|
|
|
}
|
|
|
|
|
|
}
|