package com.openhis.web.adjustprice.dto;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.openhis.common.annotation.Dict;

import lombok.Data;

/**
 * @ClassName ChangePricePageDto
 * @Description 改价业务分页dto
 * @Author raymond
 * @Date 2025/11/1 22:53
 * @Version 1.0
 **/
@Data
public class ChangePricePageDto {

    /** 单据号 */
    private String busNo;

    /** 状态 */
    private Integer statusEnum;
    private String statusEnum_enumText;

    /** 审批人 */
    @Dict(dictCode = "id", dictText = "name", dictTable = "adm_practitioner")
    private Long approverId;
    private String approverId_dictText;

    /** 审批时间 */
    private Date approvalTime;

    /** 申请人 */
    @Dict(dictCode = "id", dictText = "name", dictTable = "adm_practitioner")
    private Long applicantId;
    private String applicantId_dictText;

    /** 申请时间 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applicantTime;

    /** 制单日期 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 备注 */
    private String reason;

    /**
     * 24、药品
     */
    private Integer itemCategoryEnum;
    private String categoryEnum_enumText;

    private BigDecimal originRetailPrice;
    private BigDecimal originBuyingPrice;
    private BigDecimal newBuyingPrice;
    private BigDecimal newRetailPrice;

}
