01_db.rst.txt 872 Bytes
数据库设计
=======================

合同表
++++++++++++

   **表名:** tb_contract
   +----------------------+-------------+------------+-----------+--------+------------------------------+
   |  字段名              |  是否必填   |  类型      |  限制     |  唯一  |        说明                  |
   +======================+=============+============+===========+========+==============================+
   | contract_code        | *是*        | string     |   <=50    |  是    | 合同编号			 |
   +----------------------+-------------+------------+-----------+--------+------------------------------+
   | salesperson_unid     | *是*        | string     |   <=32    |        | 销售员,通过code服务进行选择 |
   +----------------------+-------------+------------+-----------+--------+------------------------------+