package com.ruoyi.oa.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

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)
public class SysOaClaimDetailBo extends BaseEntity {

    /**
     * 主键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;

    /**
     * 备注
     */
    private String remark;

    /**
     * 文件id列表
     */
    private String fileIds;

    /**
     * 报销金额
     */
    private Double cost;

    /**
     * 报销金额大写
     */
    private String bigCost;


}
