package cn.lihongjie.coal.deviceWorkOrder.dto;

import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.deviceWorkOrderDetail.dto.CreateDeviceWorkOrderDetailDto;

import jakarta.persistence.ManyToOne;

import lombok.Data;

import org.hibernate.annotations.Comment;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class UpdateDeviceWorkOrderDto extends OrgCommonDto {

    @Comment("提单人名称")
    private String proposerName;

    @Comment("提单人联系方式")
    private String proposerContact;


    @ManyToOne
    private String device;

    @Comment("工单时间")
    private LocalDateTime time;

    @Comment("工单类型")
    private String type;


    @Comment("工单状态")
    private String orderStatus;




    private List<CreateDeviceWorkOrderDetailDto> details;
}
