package cn.lihongjie.coal.acAppointment.dto;

import cn.lihongjie.coal.acDevice.dto.AcDeviceDto;
import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.common.DictCode;
import cn.lihongjie.coal.pojoProcessor.DictTranslate;

import jakarta.persistence.ManyToOne;

import lombok.Data;

import org.hibernate.annotations.Comment;

import java.util.List;

@Data
public class AcAppointmentDto extends OrgCommonDto {


    @ManyToOne
    private AcDeviceDto device;
    
    @Comment("预约开始时间")
    private java.time.LocalDateTime startTime;

    @Comment("预约结束时间")
    private java.time.LocalDateTime endTime;

    @Comment("车牌号")
    private String plateNo;

    @Comment("姓名")
    private String driverName;

    @Comment("联系电话")
    private String driverPhone;

    @Comment("事由")
    private String reason;


    private List<String> acDeviceDataIds;


    @Comment("下发时间")
    private java.time.LocalDateTime sendTime;

    @Comment("下发状态")
    private String sendStatus;

    @DictTranslate(dictKey =  DictCode.COMMON_STEP_STATUS)
    private String sendStatusName;

    @Comment("下发完成时间")
    private java.time.LocalDateTime sendFinishTime;




    @Comment("删除时间")
    private java.time.LocalDateTime deleteTime;


    @Comment("下发状态")
    private String deleteStatus;

    @DictTranslate(dictKey =  DictCode.COMMON_STEP_STATUS)
    private String deleteStatusName;

    @Comment("删除完成时间")
    private java.time.LocalDateTime deleteFinishTime;
    private String archiveStatus;

    private String archiveStatusName;

    @Comment("预约状态")
    private String appointmentStatus;



    @DictTranslate(dictKey =  DictCode.APPOINTMENT_STATUS)
    private String appointmentStatusName;
}
