禾翼云耕客户管理系统
2017-09-26 11:58:34 0 举报
云耕后端管理类结构图,云耕后端管理类结构图
作者其他创作
大纲/内容
AppUser(公司用户)
- authority(1. 查看;2. 填报; 3. 填农事记录;4. 管理农场)
AgricultureCostType(费用类型)
- id: int- name: string
AgricultureMachineType(农机类型)
BindingFarmMachine(绑定农机与农场)
- id: int- machine_id: int- farm_id: int
BindingReportPlan(绑定填报方案)
- id: int- plant_plan_id: int- report_plan_id: int- open_state: int (0. 未打开;1. 打开)
- addReportPlan(ReportPlan plan): bool (添加填报方案)- updateReportPlan(ReportPlan plan): bool (修改填报方案)- deleteWarnPlanById(int id)
Manager(禾翼后台系统管理员)11
- id: int- user_nick: string- telphone: int- password: string- last_login_time: int
PlantPlan(种植方案)
- id: int- desc: string (方案描述)- current_warn_plan_id: int- current_report_plan_id1: int- current_report_plan_id2: int
- getPlantPlanList(): Array (获取种植方案列表)- addPlantPlan(PlantPlan plan): bool (添加种植方案)- updatePlantPlan(PlantPlan plan): bool (修改种植方案)- deletePlantPlanById(int id): bool (删除)
投入品管理
AgricultureGoods(农资)
- id: int- name: string- type: int (农资类型)
- addArgGoods(AgricultureGoods goods): bool- updateArgGoods(AgricultureGoods goods): bool- deleteArgGoods(int goods_id): bool
BindingWarnPlan(绑定报警方案)
- id: int- plant_plan_id: int- warn_plan_id: int- open_state: int (0. 未打开;1. 打开)
- addWarnPlan(WarnPlan warnPlan): bool (添加报警方案)- updateWarnPlan(WarnPlan warnPlan): bool (修改报警方案)- deleteWarnPlanById(int id)
BindingFarmCost(绑定费用与农场)
- id: int- cost_id: int- farm_id: int
BindingFarmPlantPlan(绑定农场种植方案)
- id: int- farm_id: int- plant_plan_id: int- year: int
BindingUserFarm(农场与农场管理员/专家绑定)
- id: int- farm_id: int (农场ID)- user_id: int- is_manager: bool (用户能否管理农场)
- getUserListByFarmId(int farm_id): Array (获取某个农场的用户列表)- getExpertListByFarmId(int farm_id): Array (获取某个农场的专家列表)
BindingFarmGoods(绑定农资与农场)
- id: int- goods_id: int- farm_id: int
BindingManagerCompany(绑定管理员与公司) 11
- id: int- manager_id: int- company_id: int
AgricultureCost(费用)
- id: int- name: string- type: int (费用类型)
- addArgCost(AgricultureCost cost): bool- updateArgCost(AgricultureCost cost): bool- deleteArgCost(int cost_id): bool
ReportPlan(填报方案)
- id: int- fields: string (字段列表)
AgricultureMachine(农机)
- id: int- name: string- type: int (农机类型)
- addArgMachine(AgricultureMachine machine): bool- updateArgMachine(AgricultureMachine machine): bool- deleteArgMachine(int machine_id): bool
信息管理
Farm(农场)
- id: int- company_id: int- farm_name: string (农场名字)- address: string (农场地址)- current_plant_plan_id: int
- getFarmInfo(int farm_id): Farm (获取农场信息)- addFarm(Farm farm)- updateFarm(Farm farm)- deleteFarmById(int id)
PlantField(植株字段表)
- id: int- field_name: string (字段名)- desc: string (字段描述)
BindingManagerModule (管理员与功能模块绑定)
- id: int- manager_id: int- module: string
Company(公司)
- id: int- company_name: string- contact_name: string- contact_telphone: string- desc: string
- getCompanyInfo(int farm_id): Company (获取某个农场的公司信息)- addCompany(Company company) (添加公司)- updateCompany(Company company) (更新公司信息)- deleteCompanyById(int id)
WarnPlan(报警方案)
- id: int- method: string (报警Json串)
- addWarnPlan(WarnPlan warn_plan): bool (添加报警方案)- updateWarnPlan(WarnPlan warn_plan): bool (修改报警方案)- deleteWarnPlanById(int id)
AgricultureGoodsType(农资类型)
Expert(专家用户)
收藏
收藏
0 条评论
下一页