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

import com.engine.salary.annotation.SalaryTable;
import com.engine.salary.annotation.SalaryTableColumn;
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
@SalaryTable(pageId = "a4f85287-e3f9-4275-9527-1206e54y6rj8",
        fields = "id,  name, system_type, description, create_time,creator,delete_type,   tenant_key, update_time",
        orderby = "id desc",
        primarykey = "id"
)
public class TaxRateTableVO {


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

    /**
     * 名称
     */
    @SalaryTableColumn(text = "名称", width = "20", column = "name")
    private String name;

    /**
     * 是否是系统默认的。0：自定义、1：系统默认
     */
    @SalaryTableColumn(text = "表单类型", width = "20", column = "system_type", transmethod = "com.engine.salary.transmethod.TaxRateTransMethod.getSystemTypeName")
    private Integer systemType;

    /**
     * 描述
     */
    @SalaryTableColumn(text = "说明", width = "20", column = "description")
    private String description;

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

}