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


import com.engine.salary.enums.auth.MemberTargetTypeEnum;
import com.engine.salary.util.valid.Modify;
import com.engine.salary.util.valid.ModifyTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

    private Long id;

    private Long roleId;

    private MemberTargetTypeEnum targetType;

    @Modify(modifyType = ModifyTypeEnum.RESTORE_SQL)
    private String target;

    @Modify(modifyType = ModifyTypeEnum.RESTORE_SQL)
    private String targetName;
}