package cn.ezhizao.project.business.taskType.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import cn.ezhizao.framework.aspectj.lang.annotation.Excel;

import java.util.List;

/**
 * 任务项目 记账报税/社保申报/公积金申报 等对象 biz_task_type
 *
 * @author ruoyi
 * @date 2023-11-07
 */
@Data
@TableName(value = "biz_task_type")
public class BizTaskType
{
    private static final long serialVersionUID = 1L;

    /* 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 子条目 */
    @Excel(name = "子条目")
    @ApiModelProperty(value = "子条目")
    private String subName;

    /** 类型 1循环 2代办 */
    @Excel(name = "类型 1循环 2代办")
    @ApiModelProperty(value = "类型 1循环 2代办")
    private Integer type;

    @TableField(exist = false)
    private List<BizTaskTypeDetail> processes;

    /** 软删除标记 */
    @TableLogic
    private Integer deleted;

    /** 乐观锁标记 */
    @Version
    private Long version;


    @ApiModelProperty("付费地址")
    private Integer payAddress;
}
