外部差旅单同步dto

This commit is contained in:
huangxh3 2024-02-02 08:36:29 +08:00
parent 6626d16310
commit 75fcdd5077
2 changed files with 38 additions and 18 deletions

View File

@ -0,0 +1,31 @@
package com.chint.interfaces.rest.ly.dto.applyordersync;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 差旅内容
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AOSParam {
private String outTravelApplyNo;//外部差旅单单号
private Integer travelApplyType;//差旅类型
private String travelApplyTime;//差旅单申请时间
private String travelUpdateTime;//差旅单更新时间
private Integer operationType;//操作类型
private String outEnterpriseId;//外部企业id
private String outEmployeeId;//外部员工ID申请人
private String travelDescription;//差旅内容
private String bookableProducts;//可预订产品
private Integer status;//差旅单状态
private double travelBudget;//差旅申请单预算
private String travelRemark;//其他差旅
private Integer carBookableQuantity;//可用车次数
private Integer bookableQuantity;//机票&火车票可预订数量
private Integer roomBookableQuantity;//酒店可预订间数
private String travelPolicyCode;//差旅政策代码差旅职级
private String redirectUrl;//重定向地址
}

View File

@ -1,5 +1,6 @@
package com.chint.interfaces.rest.ly.dto.applyordersync;
import com.chint.interfaces.rest.ly.LYTokenRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@ -9,26 +10,14 @@ import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApplyOrderSync {
private String outTravelApplyNo;//外部差旅单单号
private Integer travelApplyType;//差旅类型
private String travelApplyTime;//差旅单申请时间
private String travelUpdateTime;//差旅单更新时间
private Integer operationType;//操作类型
private String outEnterpriseId;//外部企业id
private String outEmployeeId;//外部员工ID申请人
private String travelDescription;//差旅内容
private String bookableProducts;//可预订产品
private Integer status;//差旅单状态
private double travelBudget;//差旅申请单预算
private String travelRemark;//其他差旅
private Integer carBookableQuantity;//可用车次数
private Integer bookableQuantity;//机票&火车票可预订数量
private Integer roomBookableQuantity;//酒店可预订间数
private String travelPolicyCode;//差旅政策代码差旅职级
private String redirectUrl;//重定向地址
public class ApplyOrderSync extends LYTokenRequest {
private String accessToken;//令牌
private Boolean isEncrypt;//是否加密
private String random;//随机数
private Data timestamp;//时间戳
private AOSParam param;
private AOSDetail detail;//详情
private List<AOSItem> itemList;//差旅内容
private List<AOSPerson> personList;//差旅人信息实际出行人