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-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WebsitSign对象", description="签约情况")
public class WebsitSign extends Model<WebsitSign> {

    private static final long serialVersionUID=1L;

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

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

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

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

    @ApiModelProperty(value = "安装结算单位id")
    private String installSettlementId;

    @ApiModelProperty(value = "安装结算单位")
    private String installSettlement;

    @ApiModelProperty(value = "维修结算单位id")
    private String repairSettlementId;

    @ApiModelProperty(value = "维修结算单位")
    private String repairSettlement;

    @ApiModelProperty(value = "售后上级单位id")
    private String parentWebsitId;

    @ApiModelProperty(value = "售后上级单位")
    private String parentWebsitName;

    @ApiModelProperty(value = "销售单位id")
    private String salesId;

    @ApiModelProperty(value = "销售单位名称")
    private String salesName;

    @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;
    }

}
