package com.openhis.web.nenu.dto;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 公费医疗-比例调整申请处理Dto
 *
 * @author Thanking
 * @date 2025-10-28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GfRatioApplicationProcessDto {

    /** ID */
    @NotNull(message = "ID不能为空")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 角色 */
    @NotNull(message = "角色不能为空")
    private Integer approvalRole;

    /** 通过or驳回（1通过2驳回） */
    @NotNull(message = "通过or驳回不能为空")
    private Integer approvalResult;

    /** 意见 */
    @NotNull(message = "意见不能为空")
    private String approvalOpinion;

}
