package cn.stylefeng.team.form.api.entity;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class FormItemTable {

    @ChineseDescription("表单元素id")
    private Long itemId;

    @ChineseDescription("所属子表模型id")
    private Long subMetaModelDefinitionId;

    @ChineseDescription("当前子表关联主表字段id")
    private Long subMetaModelLinkFieldId;

    @ChineseDescription("是否显示删除")
    private Boolean showDeleteFlag = true;

    @ChineseDescription("是否显示序号")
    private Boolean showNumberFlag = true;

    @ChineseDescription("是否显示边框")
    private Boolean showBorderFlag = true;

    @ChineseDescription("默认行数")
    private Integer defaultRowNumber;

    @ChineseDescription("是否显示新增按钮")
    private Boolean showAddFlag = true;

}
