package com.engine.salary.entity.salaryitem.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@XStreamAlias("FormulaVarConfig")
public class FormulaVarConfig {

    /**
     * 主键id
     */
    @XStreamAlias("id")
    @XStreamAsAttribute
    private Long id;

    /**
     * 名称
     */
    @XStreamAlias("name")
    @XStreamAsAttribute
    private String name;

    /**
     * 公式id
     */
    @XStreamAlias("formulaId")
    @XStreamAsAttribute
    private Long formulaId;

    /**
     * 字段id
     */
    @XStreamAlias("fieldId")
    @XStreamAsAttribute
    private String fieldId;

    /**
     * 字段名称
     */
    @XStreamAlias("fieldName")
    @XStreamAsAttribute
    private String fieldName;

    /**
     * 字段类型，number,string
     */
    @XStreamAlias("fieldType")
    @XStreamAsAttribute
    private String fieldType;

    /**
     * 来源
     */
    @XStreamAlias("source")
    @XStreamAsAttribute
    private String source;

    /**
     * 排序
     */
    @XStreamAlias("orderIndex")
    @XStreamAsAttribute
    private Integer orderIndex;

}
