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

import com.engine.salary.annotation.TableTitle;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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 TaxAgentSubAdminListDTO {

    //主键id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //分管理员
    @TableTitle(title = "分管理员", key = "subAdmin", dataIndex = "subAdmin")
    private String subAdmin;

    //管理范围
    @TableTitle(title = "管理范围", key = "range", dataIndex = "range")
    private String range;

    //备注
    @TableTitle(title = "备注", key = "description", dataIndex = "description")
    private String description;
}
