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

import com.engine.salary.annotation.I18n;
import com.engine.salary.annotation.TableTitle;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthRoleDataDTO {

    private Long id;

    @TableTitle(title = "姓名",dataIndex = "username",key = "username")
    private String username;

    @TableTitle(title = "工号",dataIndex = "workCode",key = "workCode")
    private String workCode;


    @I18n
    @TableTitle(title = "部门",dataIndex = "departmentName",key = "departmentName")
    private String departmentName;

    @I18n
    @TableTitle(title = "岗位",dataIndex = "jobtitleName",key = "jobtitleName")
    private String jobtitleName;
}
