package com.jwipc.tender.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 模块扩展字段模板明细表
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-29
 */
@Getter
@Setter
@TableName("t_tender_template_field_ref")
public class TenderTemplateFieldRef implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 扩展字段id
     */
    private Long fieldId;

    /**
     * 模板id
     */
    private Long templateId;
    private Integer edit;
    /**
     * 经销商可见
     */
    private Integer supplierShow;

    /**
     * 经销商编辑
     */
    private Integer supplierEdit;

    /**
     * 1必填0选填(2隐藏 启用)
     */
    private Integer required;

    /**
     * 字段别名，用于模板渲染时展示
     */
    private String fieldAlias;

    /**
     * 字段在模板中显示顺序
     */
    private Integer fieldSort;

    /**
     * 删除标记[0,1]
     */
    private Integer delFlag;

    /**
     * 默认字段:1:默认;0:正常
     */
    private Integer defaultFlag;
    /**
     * 是否拷贝
     */
    private Integer copyFlag;
    /**
     * 定标可见1:是;0:否
     */
    private Integer benchmarkingShow;
}
