package com.zfire.jiasm.syncdata.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 师傅服务类型的大类明细-申请变更表
 * </p>
 *
 * @author gejiang
 * @since 2023-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WorkerServiceCategoryDetailApply对象", description="师傅服务类型的大类明细-申请变更表")
public class WorkerServiceCategoryDetailApply extends Model<WorkerServiceCategoryDetailApply> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "师傅申请id")
    private String workerApplyId;

    @ApiModelProperty(value = "师傅服务类型id")
    private String workerServiceCategoryId;

    @ApiModelProperty(value = "师傅id")
    private String workerId;

    @ApiModelProperty(value = "网点id")
    private String websitId;

    @ApiModelProperty(value = "网点师傅id")
    private String websitWorkerId;

    @ApiModelProperty(value = "服务类目id")
    private String serviceCategoryId;

    @ApiModelProperty(value = "服务类目名称")
    private String serviceCategoryName;

    @ApiModelProperty(value = "类型：家用/商用")
    private String flag;

    @ApiModelProperty(value = "服务类型 INSTALL=安装 REPAIR=维修  DELIVERY=配送")
    private String type;

    @ApiModelProperty(value = "服务类型id")
    private String mainId;

    @ApiModelProperty(value = "服务大类名称")
    private String mainName;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "审批状态 WAIT=待审批  OK=通过 FAIL=不通过")
    private String examineStatus;

    @ApiModelProperty(value = "审批时间")
    private Date examineTime;

    @ApiModelProperty(value = "审批备注")
    private String examineRemark;

    @ApiModelProperty(value = "审批人")
    private String examineBy;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
