package com.engine.salary.entity.taxrate.vo;

import com.engine.salary.annotation.SalaryTable;
import com.engine.salary.annotation.SalaryTableColumn;
import com.engine.salary.annotation.SalaryTableOperate;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 个税扣缴义务人表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SalaryTable(pageId = "a4f85287-e3f9-4275-ab18-7d06e54y6rj8",
        fields = "id, name, description, create_time, update_time, creator, delete_type, tenant_key",
        fromSql = "FROM hrsa_tax_agent",
        orderby = "id desc",
        primarykey = "id",
        operates = {@SalaryTableOperate(text = "删除")}
)
public class TaxAgentTableVO {

    /**
     * 主键
     */
    @SalaryTableColumn(column = "id", display = false)
    private Long id;

    /**
     * 名称
     */
    @SalaryTableColumn(column = "name", width = "30%", text = "个税扣缴义务人名称")
    private String name;

    /**
     * 描述
     */
    @SalaryTableColumn(column = "description", width = "30%", text = "备注")
    private String description;

    /**
     * 操作
     */
    @SalaryTableColumn(column = "operate", width = "20%", text = "操作")
    private String operate;

}