package com.ruoyi.approve.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; import lombok.ToString; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDateTime; /** *

* 差旅报销扩展表 *

* * @author 芯导软件(江苏)有限公司 * @since 2026-05-21 09:56:47 */ @Getter @Setter @ToString @TableName("fin_reimbursement_travel") @ApiModel(value = "FinReimbursementTravel对象", description = "差旅报销扩展表") public class FinReimbursementTravel implements Serializable { private static final long serialVersionUID = 1L; /** * 主键ID */ @Schema(description = "主键ID") @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 报销单ID,对应 fin_reimbursement.id */ @Schema(description = "报销单ID,对应 fin_reimbursement.id") private Long reimbursementId; /** * 出差开始时间 */ @Schema(description = "出差开始时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime startTime; /** * 出差结束时间 */ @Schema(description = "出差结束时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime endTime; /** * 出差天数 */ @Schema(description = "出差天数") private BigDecimal travelDays; /** * 出差地/出发城市 */ @Schema(description = "出差地/出发城市") private String departureCity; /** * 目的地/目的城市 */ @Schema(description = "目的地/目的城市") private String destinationCity; /** * 酒店标准 */ @Schema(description = "酒店标准") private BigDecimal hotelStandard; /** * 住宿天数 */ @Schema(description = "住宿天数") private BigDecimal lodgingDays; /** * 生活补贴 */ @Schema(description = "生活补贴") private BigDecimal mealAllowance; /** * 交通补贴 */ @Schema(description = "交通补贴") private BigDecimal transportAllowance; /** * 住宿限额 */ @Schema(description = "住宿限额") private BigDecimal lodgingLimit; /** * 特批标记文本,如在标准范围内/超标特批 */ @Schema(description = "特批标记文本,如在标准范围内/超标特批") private String standardTag; /** * 是否在标准内:1-是,0-否 */ @Schema(description = "是否在标准内:1-是,0-否") private Byte withinStandard; /** * 租户ID */ @Schema(description = "租户ID") private Long tenantId; /** * 创建人 */ @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Long createUser; /** * 创建时间 */ @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** * 更新人 */ @Schema(description = "更新人") @TableField(fill = FieldFill.INSERT_UPDATE) private Long updateUser; /** * 更新时间 */ @Schema(description = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; /** * 归属部门ID */ @Schema(description = "归属部门ID") @TableField(fill = FieldFill.INSERT) private Long deptId; }