/* * Copyright 2019-2020 Zheng Jie * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package me.zhengjie.modules.attendance.service.dto; import lombok.Data; import me.zhengjie.base.BaseDTO; import me.zhengjie.modules.approval.service.dto.ApproveEventDto; import me.zhengjie.modules.project.service.dto.ProjectDto; import java.sql.Timestamp; import java.io.Serializable; /** * @website https://eladmin.vip * @description / * @author wcd * @date 2023-01-05 **/ @Data public class AttendanceBusinessTravelDto extends BaseDTO implements Serializable { /** 主键id */ private Long id; /** 用户id */ private Long userId; /** 审批用户id */ private Long approvalUserId; /** 出差开始时间 */ private Timestamp travelStartTime; /** 出差结束时间 */ private Timestamp travelEndTime; /** 出差时长 */ private Double travelDuration; /** 时长单位 */ private String durationUnit; /** 出差原因 */ private String travelReason; /** 出发城市 */ private String departureCity; /** 到达城市 */ private String arrivalCity; /** 出差类别 */ private String category; /** 项目ID */ private Long projectId; /** 审批状态 */ private String approvalStatus; /** 审批说明 */ private String approvalDescription; /** 备注 */ private String remarks; /** 企微审批单号 */ private String wecomSpNo; /** 事前出差ID */ private Long preBusinessTravelId; private String userName; private String appUserName; /** 企微最新审批变化记录 */ private ApproveEventDto event; /** 关联项目信息 */ private ProjectDto project; }