class Elements implements Serializable, TypeConverter<Elements, ElementsDTO> {

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

    @TableField
    @Column(value = "ele_name", isNull = false, comment = "控件名称")
    private String eleName;

    @TableField
    @Column(value = "ele_type", isNull = false, comment = "控件类型")
    private String eleType;

    @TableField
    @Column(value = "ele_value", type = MySqlTypeConstant.LONGTEXT, comment = "控件内容")
    private String eleValue;

    @TableField
    @Column(value = "project_id", isNull = false, comment = "所属项目id")
    @Index(value = "IDX_PROJECT_ID", columns = {"project_id"})
    private Integer projectId;


    @TableField
    @Column(value = "module_id", isNull = true, comment = "所属项目id", defaultValue = "0")
    @Index(value = "IDX_MODULE_ID", columns = {"module_id"})
    private Integer moduleId;

    public static Elements newDeletedElement(int id) {<FILL_FUNCTION_BODY>}
}

        String tips = "Element does not exist.";
        return new Elements()
                .setId(id)
                .setEleName(tips)
                .setModuleId(0)
                .setEleType("id")
                .setEleValue(tips)
                .setProjectId(0);
    
<no_super_class>