package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 报销明细对象 sys_oa_claim_detail
 *
 * @author hdka
 * @date 2025-02-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_oa_claim_detail")
public class SysOaClaimDetail extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "claim_detail_id")
    private Long claimDetailId;
    /**
     * 外键id
     */
    private Long claimId;
    /**
     * 报销类型
     */
    private Long claimType;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    /**
     * 入住地点
     */
    private String lodgingAddress;
    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;
    /**
     * 备注
     */
    private String remark;
    /**
     * 文件id列表
     */
    private String fileIds;
    /**
     * 报销金额
     */
    private Double cost;
    /**
     * 报销金额大写
     */
    private String bigCost;

}
