package com.ruoyi.web.modules.architecture.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 移动端用药工具 — 计算休药期结果。
 */
public class AppMedicationWithdrawalCalculateVo
{
    private String drugName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String stopDate;

    private Integer withdrawalDays;

    /** 期满日期 = 停药日期 + 休药期天数 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endDate;

    public String getDrugName()
    {
        return drugName;
    }

    public void setDrugName(String drugName)
    {
        this.drugName = drugName;
    }

    public String getStopDate()
    {
        return stopDate;
    }

    public void setStopDate(String stopDate)
    {
        this.stopDate = stopDate;
    }

    public Integer getWithdrawalDays()
    {
        return withdrawalDays;
    }

    public void setWithdrawalDays(Integer withdrawalDays)
    {
        this.withdrawalDays = withdrawalDays;
    }

    public String getEndDate()
    {
        return endDate;
    }

    public void setEndDate(String endDate)
    {
        this.endDate = endDate;
    }
}
