drop table IF EXISTS mst_sethin cascade;

create table mst_sethin (
  hinmokucd character varying(20) not null
  , sethinno numeric(4) not null
  , sethinmokucd character varying(40) not null
  , suryo numeric(15, 3) not null
  , haishifg numeric(1)
  , sakuseiuserid character varying(40) not null
  , sakuseinichiji timestamp(6) with time zone not null
  , koshinuserid character varying(40) not null
  , koshinnichiji timestamp(6) with time zone not null
  , primary key (hinmokucd, sethinno)
);
