package com.mvc.model.dic;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
* @Description: 产品类型字典表
* @Author: guozhao
* @CreateDate: 2024-11-04 16:30:49
*/
public class DicProductTypeModel {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 产品描述
     */
    private String productDesc;

    /**
     * 产品系列(0:边缘,1:服务,3:网关,4:采集器)
     */
    private Integer productSeries;

    /**
     * 运营商类型(1:中国移动,2:中国电信,3:中国联通)
     */
    private Integer operatorType;

    /**
     * 网络类型(1:NB,2:CAT1)
     */
    private Integer networkCategory;

    /**
     *  在用标记(1:可用)
     */
    private String useFlag;

    /**
     * 创建人
     */
    private String createMan;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm", timezone="GMT+8",locale="zh")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc == null ? null : productDesc.trim();
    }

    public Integer getProductSeries() {
        return productSeries;
    }

    public void setProductSeries(Integer productSeries) {
        this.productSeries = productSeries;
    }

    public Integer getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public Integer getNetworkCategory() {
        return networkCategory;
    }

    public void setNetworkCategory(Integer networkCategory) {
        this.networkCategory = networkCategory;
    }

    public String getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(String useFlag) {
        this.useFlag = useFlag == null ? null : useFlag.trim();
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan == null ? null : createMan.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}