package cn.ey.biz.module.system.api.contract.dto;

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

@ApiModel("RPC 服务 - 合同归档字段")
@Data
public class ContractFieldDTO {

    private Long id;

    @ApiModelProperty(value = "归档：archive, 字段：field")
    private String type;

    @ApiModelProperty(value = "字段编号")
    private Long fieldId;

    @ApiModelProperty(value = "合同模块")
    private String contractModule;

    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    @ApiModelProperty(value = "字段CODE")
    private String fieldCode;

    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    @ApiModelProperty(value = "业务线")
    private String sl;

    @ApiModelProperty(value = "MR")
    private String mr;

    @ApiModelProperty(value = "合同类型")
    String contractType;

    @ApiModelProperty(value = "默认值")
    private String defaultValue;

    @ApiModelProperty(value = "数据源: 扩展字段且类型为下拉框时填写")
    private String dataSource;

    @ApiModelProperty(value = "是否扩展字段： 0:否， 1:是")
    private int expand;

    @ApiModelProperty(value = "是否必填")
    private Boolean needInput;

    @ApiModelProperty(value = "是否展示")
    private Boolean needShow;
}
