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-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WebsitQualifications对象", description="服务资质")
public class WebsitQualifications extends Model<WebsitQualifications> {

    private static final long serialVersionUID=1L;

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

    @ApiModelProperty(value = "商品类别id")
    private String goodsCategoryId;

    @ApiModelProperty(value = "商品类别")
    private String goodsCategoryName;

    @ApiModelProperty(value = "服务商id")
    private String websitId;

    @ApiModelProperty(value = "小类id")
    private String subcategoryId;

    @ApiModelProperty(value = "小类名称")
    private String subcategoryName;

    @ApiModelProperty(value = "服务类别id")
    private String genreId;

    @ApiModelProperty(value = "服务类别")
    private String genreName;

    @ApiModelProperty(value = "签约对象")
    private String signContract;

    @ApiModelProperty(value = "签约年份")
    private String signYear;

    @ApiModelProperty(value = "权限")
    private String jurisdiction;

    @ApiModelProperty(value = "签约类型")
    private String signType;

    @ApiModelProperty(value = "签约状态")
    private String signStatus;

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

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

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "HOME 家用  COMMERCIAL 商用")
    private String categoryType;


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

}
