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="ProductSeries对象", description="")
public class ProductSeries extends Model<ProductSeries> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "系列编码")
    @TableId(value = "product_series_id", type = IdType.ID_WORKER_STR)
    private String productSeriesId;

    @ApiModelProperty(value = "编号")
    private String seriesNumber;

    @ApiModelProperty(value = "品牌id")
    private String brandId;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "大类id")
    private String mainId;

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

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

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

    @ApiModelProperty(value = "系列名")
    private String seriesName;

    @ApiModelProperty(value = "ON=开启 OFF=关闭")
    private String status;

    @ApiModelProperty(value = "是否为特殊机型 YES/NO")
    private String isSpecial;

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

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

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

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


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

}
