/*
|
* 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 baolh
|
* @date 2026-09-14
|
**/
|
@Data
|
public class PreBusinessTravelDto extends BaseDTO implements Serializable {
|
|
/** 主键id */
|
private Long id;
|
|
/** 用户id */
|
private Long userId;
|
|
/** 审批用户id */
|
private Long approvalUserId;
|
|
/** 标题 */
|
private String title;
|
|
/** 出差开始时间 */
|
private Timestamp travelStartTime;
|
|
/** 出差结束时间 */
|
private Timestamp travelEndTime;
|
|
/** 出差时长 */
|
private Double travelDuration;
|
|
/** 时长单位 */
|
private String durationUnit;
|
|
/** 出差原因 */
|
private String travelReason;
|
|
/** 出发城市 */
|
private String departureCity;
|
|
/** 到达城市 */
|
private String arrivalCity;
|
|
/** 审批状态 */
|
private String approvalStatus;
|
|
/** 审批说明 */
|
private String approvalDescription;
|
|
/** 备注 */
|
private String remarks;
|
|
/** 关联项目 */
|
private Long projectId;
|
|
/** 成员ID */
|
private String memberUserId;
|
|
/** 企微审批单号 */
|
private String wecomSpNo;
|
|
/** 企微最新审批变化记录ID */
|
private Long wecomEventId;
|
|
/** 企微出差地点 */
|
private String wecomLocation;
|
|
/** 企微时长粒度 */
|
private String wecomDateType;
|
|
/** 企微申请时长 */
|
private String wecomDuration;
|
|
/** 企微假勤类型(固定值) */
|
private String wecomAttendanceType;
|
|
/** 企微审批人ID */
|
private String wecomApproveWecomId;
|
|
/** 企微项目名称 */
|
private String wecomProjectName;
|
|
/** 企微成员名称 */
|
private String wecomMemberName;
|
|
/** 用户名称 */
|
private String userName;
|
|
/** 审批用户名称 */
|
private String appUserName;
|
|
/** 关联项目信息 */
|
private ProjectDto project;
|
|
/** 企微最新审批变化记录 */
|
private ApproveEventDto event;
|
}
|