package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotNull;

/**
 * @author 李加喜
 * @Package com.imed.costaccount.model.dto
 * @date 2021-07-27 15:03
 */
@Data
@ApiModel("编辑分摊层级对象")
public class CostShareLevelEditDto {
    @ApiModelProperty(name = "id",value = "分摊层级的Id")
    private Long id;

    @ApiModelProperty(name = "shareName",value = "分摊层级数名称")
    @NotNull(message = "层级名称不能为空")
    private String shareName;

    @ApiModelProperty(name = "leverSort",value = "分摊层级序号")
    @NotNull(message = "层级序号不能为空")
    private Integer leverSort;

    @ApiModelProperty(name = "targetLevel",value = "目标层级")
    @NotNull(message = "目标层级不能为空")
    private String targetLevel;

    @ApiModelProperty(name = "calcType",value = "计算方式  0合并计算  1 分开计算")
    @NotNull(message = "计算方式不能为空")
    private Integer calcType;
}
