create table network
(
    id         serial
        constraint network_pk
            primary key,
    name       varchar(300)                not null,
    type       integer                     not null,
    account    varchar(300)                not null,
    indate     timestamp without time zone not null,
    project_id integer                     not null
        constraint project_id
            references public.project
);

comment on table network is '宽带专网';

comment on column network.name is '专网名称';

comment on column network.type is '专网类型/*1.外网,2.内网*/';

comment on column network.account is '账号';

comment on column network.indate is '有效期';

comment on column network.project_id is '关联的结构物';