package com.engine.salary.entity.datacollection.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 数据采集-考勤引用字段表单
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AttendQuoteFieldFormDTO {

   //主键id")
    private Long id;

   //字段名称")
    private String fieldName;

   //字段类型。1：数值、2：文本")
    private Integer fieldType;

   //是否启用。0：否、1：是")
    private Integer enableStatus;

   //备注")
    private String description;

//    private List<WeaFormOption> getFieldTypeOptions() {
//        return Arrays.stream(AttendQuoteFieldTypeEnum.values()).map(m->new WeaFormOption(m.name(), SalaryI18nUtil.getI18nLabel(TenantContext.getCurrentTenantKey(), UserContext.getCurrentEmployeeId(), m.getLabelId(), m.getDefaultLabel()))).collect(Collectors.toList());
//    }
}
