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

import com.engine.salary.annotation.TableTitle;
import com.engine.salary.enums.auth.MemberTargetTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

    private Long id;

    @TableTitle(title = "对象类型",dataIndex = "targetTypeName",key = "targetTypeName")
    private String targetTypeName;
    private MemberTargetTypeEnum targetType;

    @TableTitle(title = "对象",dataIndex = "targetName",key = "targetName")
    private String targetName;
    private String target;

}
