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="WebsitMainInfoChangeData对象", description="网点重点信息变更附件")
public class WebsitMainInfoChangeData extends Model<WebsitMainInfoChangeData> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "网点重点信息变更附件id")
    @TableId(value = "websit_main_info_change_data_id", type = IdType.ID_WORKER_STR)
    private String websitMainInfoChangeDataId;

    @ApiModelProperty(value = "网点重点信息变更id")
    private String websitMainInfoChangeId;

    @ApiModelProperty(value = "网点信息附件id")
    private String enclosureId;

    @ApiModelProperty(value = "资料名称")
    private String fileName;

    @ApiModelProperty(value = "资料地址")
    private String fileUrl;

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

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


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

}
