package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("会计科目编辑入参")
public class AccountingEditDTO {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(name = "id",value = "需要编辑类目的id")
    private Long id;

    @ApiModelProperty(name = "accountingCode",value = "科目代码")
    @NotEmpty(message = "科目代码不能为空")
    private String accountingCode;

    @ApiModelProperty(name = "accountingName",value = "科目名称")
    @NotEmpty(message = "科目名称不能为空")
    private String accountingName;

    private Integer accountType;

    private Integer isBaseCost;

    private Integer costType;

    private String type;

    private String typeName;

    private Integer controlType;

    private Integer medicalType;
}
