| | |
| | | @Pattern(regexp = "HIGH_VOLTAGE_ROOM|UNIT_AREA|DANGER_CHEMICAL|FIRE_AREA|WORKSHOP|OTHER", message = "点位类型不合法") |
| | | private String pointType; |
| | | |
| | | @Schema(description = "所属车间/区域") |
| | | @Size(max = 100) |
| | | private String workshopName; |
| | | @Schema(description = "所属车间(关联 mes_md_workshop)") |
| | | private Long workshopId; |
| | | |
| | | @Schema(description = "具体位置") |
| | | @Size(max = 200) |
| | |
| | | @Pattern(regexp = "SHIFT|DAILY|WEEKLY|MONTHLY", message = "巡检周期不合法") |
| | | private String inspectCycle; |
| | | |
| | | @Schema(description = "责任人") |
| | | @Size(max = 50) |
| | | private String ownerName; |
| | | @Schema(description = "责任人(员工编号,关联 hrm_employee)") |
| | | private Long ownerId; |
| | | |
| | | @Schema(description = "状态:0-启用,1-停用", example = "0") |
| | | @NotNull(message = "状态不能为空") |