package com.yuchen.saas.flow.api.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_flow_field_temp_info")
@ApiModel(value="SaasFlowFieldTempInfo对象", description="客户表单基础字段内容信息表")
public class SaasFlowFieldTempInfo extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "clientId", value = "客户id")
    private Long customerId;
    /**
     * 表单标识
     */
    @ApiModelProperty(name = "formCode", value = "表单标识")
    private String formCode;
    /**
     * 表单基础表信息（1：主表，2：关联表）
     */
    @ApiModelProperty(name = "formTableType", value = "表单基础表信息（1：主表，2：关联表）")
    private String formTableType;
    /**
     * 表名称
     */
    @ApiModelProperty(name = "tableName", value = "表名称")
    private String tableName;
    /**
     * 字段名称
     */
    @ApiModelProperty(name = "fieldName", value = "字段名称")
    private String fieldName;
    /**
     * 字段类型
     */
    @ApiModelProperty(name = "fieldType", value = "字段类型")
    private String fieldType;
    /**
     * 字段长度
     */
    @ApiModelProperty(name = "fieldLength", value = "字段长度")
    private String fieldLength;
    /**
     * 字段注释
     */
    @ApiModelProperty(name = "fieldExplain", value = "字段注释")
    private String fieldExplain;
    /**
     * 父级id
     */
    @ApiModelProperty(name = "parentId", value = "父级id")
    private Long parentId;



}
