package com.kcim.dao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 李加喜
 * @Package com.imed.costaccount.model.dto
 * @date 2021-08-17 9:47
 */
@Data
@ApiModel("全院收支数据")
public class CostOtherPaymentsDataSaveDto {

    @ApiModelProperty(name = "dateTime",value = "年月")
    @NotNull(message = "时间不能为空")
    private String dateTime;

    @ApiModelProperty(name = "paymentsType",value = "收支类型")
    @NotNull(message = "收支类型不能为空")
    private Integer paymentsType;

    @ApiModelProperty(name = "paymentsName",value = "收支名称")
    @NotNull(message = "收支名称不能为空")
    private String paymentsName;

    @ApiModelProperty(name = "totalAmount",value = "金额")
    @NotNull(message = "金额")
    private BigDecimal totalAmount;
}
