package cn.iocoder.yudao.module.mes.controller.admin.deviceledger.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备类型新增/修改 Request VO")
@Data
public class DeviceLedgerSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24467")
    private Long id;

    @Schema(description = "设备编号")
    private String deviceCode;

    @Schema(description = "设备名称", example = "赵六")
    private String deviceName;

    @Schema(description = "设备状态 (0-正常, 1-停用, 2-维修, 3-报废)", example = "2")
    private Integer deviceStatus;

    @Schema(description = "设备品牌")
    private String deviceBrand;

    @Schema(description = "设备型号")
    private String deviceModel;

    @Schema(description = "设备规格")
    private String deviceSpec;

    @Schema(description = "设备类型", example = "1")
    private String deviceType;

    @Schema(description = "供应商")
    private String supplier;

    @Schema(description = "所属车间")
    private String workshop;

    @Schema(description = "所属系统组织")
    private String systemOrg;

    @Schema(description = "设备位置")
    private String deviceLocation;

    @Schema(description = "设备负责人")
    private String deviceManager;

    @Schema(description = "设备生产日期")
    private LocalDate productionDate;

    @Schema(description = "设备入厂日期")
    private LocalDate  factoryEntryDate;

    @Schema(description = "设备备注", example = "随便")
    private String deviceRemark;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "附件下载")
    private String fileUrl;

    @Schema(description = "关键件，ids集合")
    private String componentId;

    @Schema(description = "备件，ids集合")
    private String beijianId;

    @Schema(description = "模具，ids集合")
    private String moldId;

    @Schema(description = "关联采集设备id")
    private Long  dvId;
}