/* eslint-disable*/
'use strict';

module.exports = dc => {
    const DataTypes = dc.ORM;
    const sequelize = dc.orm;
    const CustomerContactsFollowup = sequelize.define("customerContactsFollowup", {
        id: {
            type: DataTypes.INTEGER,
            allowNull: false,
            primaryKey: true,
            field: "id",
            autoIncrement: true,
        },
        customer: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "customer",
        },
        items: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "items",
        },
        department: {
            type: DataTypes.STRING,
            allowNull: false,
            field: "department",
        },
        sale: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "sale",
        },
        updatetime: {
            type: DataTypes.DATE,
            allowNull: false,
            field: "updatetime",
        },
        customerContacts: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "customer_contacts",
        },
        phone: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "phone",
        },
        visitStyle: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "visit_style",
        },
        itemText: {
            type: DataTypes.STRING,
            allowNull: true,
            field: "item_text",
        }
    }, {
        tableName: "customer_contacts_followup",
    });
    dc.models.CustomerContactsFollowup = CustomerContactsFollowup;
    return CustomerContactsFollowup;
};