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="WebsitServiceCategory对象", description="师傅服务资质(精确到服务类型)")
public class WebsitServiceCategory extends Model<WebsitServiceCategory> {

    private static final long serialVersionUID=1L;

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

    @ApiModelProperty(value = "结算主体id")
    private String brandId;

    @ApiModelProperty(value = "结算主体名")
    private String brandName;

    @ApiModelProperty(value = "网点编号(客户/服务商)")
    private String websitId;

    @ApiModelProperty(value = "网点类型 PROVIDER=总包服务商 NETWORK=服务商网点 X1=总包商户 X2=商户网点")
    private String websitType;

    @ApiModelProperty(value = "结算主体方网点编号")
    private String brandWebsitId;

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

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

    @ApiModelProperty(value = "服务类型/工单类型 参考字典ORDER_TYPE")
    private String type;

    @ApiModelProperty(value = "服务类型/工单类型名称")
    private String typeName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;


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

}
