package com.openhis.yb.dto;

import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import com.alibaba.fastjson2.annotation.JSONField;

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

/**
 * 【3101】输出-违规明细信息（节点标识：judge_result_detail_dtos）
 *
 * @author Thanking
 */
@Data
@Accessors(chain = true)
public class Yb3101OutputJudgeResultDetailDto {

    /**
     * 违规明细标识：违规明细唯一标识
     */
    @NotBlank
    @Length(max = 50)
    @JSONField(name = "jrd_id")
    private String jrdId;

    /**
     * 参保人标识
     */
    @NotBlank
    @Length(max = 50)
    @JSONField(name = "patn_id")
    private String patnId;

    /**
     * 就诊标识
     */
    @Length(max = 50)
    @JSONField(name = "mdtrt_id")
    private String mdtrtId;

    /**
     * 处方(医嘱)标识
     */
    @Length(max = 50)
    @JSONField(name = "rx_id")
    private String rxId;

    /**
     * 违规明细类型：参考字典表
     */
    @NotBlank
    @Length(max = 3)
    @JSONField(name = "vola_item_type")
    private String volaItemType;

    /**
     * 违规金额
     */
    @NotNull
    @JSONField(name = "vola_amt")
    private BigDecimal volaAmt;

}
