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-28 19:01
 */
@Data
@ApiModel("成本分摊参数保存对应入参")
public class CostAccountShareSaveDto {

    @ApiModelProperty(name = "responsibilityId",value = "责任中心的Id")
    @NotNull(message = "责任中心Id不能为空")
    private Long responsibilityId;

    @ApiModelProperty(name = "shareLevel",value = "责任中心分摊层级")
    private Integer shareLevel;

    @ApiModelProperty(name = "responsibilityCode",value = "责任中心代码")
    private String responsibilityCode;

    @ApiModelProperty(name = "responsibilityCode",value = "责任中心名称")
    private String responsibilityName;

    @ApiModelProperty(name = "accountingId",value = "会计科目的Id")
    private String accountingIds;

    @ApiModelProperty(name = "accountingName",value = "会计科目名称")
    private String accountingNames;

    @ApiModelProperty(name = "accountingCode",value = "会计科目的代码")
    private String accountingCodes;

    @ApiModelProperty(name = "costNode",value = "备注")
    private String costNode;
    /**
     * 别名
     */
    private String alias;
    /**
     * 是否包含分摊成本 0不包含 1 包含
     */
    private Integer isShareCost = 1;
}
