|
|
|
|
#coding:utf-8
|
|
|
|
|
__author__ = "ila"
|
|
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
|
|
from .model import BaseModel
|
|
|
|
|
|
|
|
|
|
from datetime import datetime
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class qiuzhizhe(BaseModel):
|
|
|
|
|
__doc__ = u'''qiuzhizhe'''
|
|
|
|
|
__tablename__ = 'qiuzhizhe'
|
|
|
|
|
|
|
|
|
|
__loginUser__='zhanghao'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={}
|
|
|
|
|
__authPeople__='是'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__loginUserColumn__='zhanghao'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='否'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
zhanghao=models.CharField ( max_length=255,null=False,unique=True, verbose_name='账号' )
|
|
|
|
|
mima=models.CharField ( max_length=255,null=False, unique=False, verbose_name='密码' )
|
|
|
|
|
xingming=models.CharField ( max_length=255,null=False, unique=False, verbose_name='姓名' )
|
|
|
|
|
nianling=models.IntegerField ( null=True, unique=False, verbose_name='年龄' )
|
|
|
|
|
xingbie=models.CharField ( max_length=255, null=True, unique=False, verbose_name='性别' )
|
|
|
|
|
shouji=models.CharField ( max_length=255, null=True, unique=False, verbose_name='手机' )
|
|
|
|
|
zhaopian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='照片' )
|
|
|
|
|
'''
|
|
|
|
|
zhanghao=VARCHAR
|
|
|
|
|
mima=VARCHAR
|
|
|
|
|
xingming=VARCHAR
|
|
|
|
|
nianling=Integer
|
|
|
|
|
xingbie=VARCHAR
|
|
|
|
|
shouji=VARCHAR
|
|
|
|
|
zhaopian=VARCHAR
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'qiuzhizhe'
|
|
|
|
|
verbose_name = verbose_name_plural = '求职者'
|
|
|
|
|
class gongsi(BaseModel):
|
|
|
|
|
__doc__ = u'''gongsi'''
|
|
|
|
|
__tablename__ = 'gongsi'
|
|
|
|
|
|
|
|
|
|
__loginUser__='gongsizhanghao'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={}
|
|
|
|
|
__authPeople__='是'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__loginUserColumn__='gongsizhanghao'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
gongsizhanghao=models.CharField ( max_length=255,null=False,unique=True, verbose_name='公司账号' )
|
|
|
|
|
mima=models.CharField ( max_length=255,null=False, unique=False, verbose_name='密码' )
|
|
|
|
|
gongsimingcheng=models.CharField ( max_length=255,null=False, unique=False, verbose_name='公司名称' )
|
|
|
|
|
gongsilingyu=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司领域' )
|
|
|
|
|
gongsiguimo=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司规模' )
|
|
|
|
|
gongsileixing=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司类型' )
|
|
|
|
|
gongsitupian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司图片' )
|
|
|
|
|
gongsidizhi=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司地址' )
|
|
|
|
|
'''
|
|
|
|
|
gongsizhanghao=VARCHAR
|
|
|
|
|
mima=VARCHAR
|
|
|
|
|
gongsimingcheng=VARCHAR
|
|
|
|
|
gongsilingyu=VARCHAR
|
|
|
|
|
gongsiguimo=VARCHAR
|
|
|
|
|
gongsileixing=VARCHAR
|
|
|
|
|
gongsitupian=VARCHAR
|
|
|
|
|
gongsidizhi=VARCHAR
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'gongsi'
|
|
|
|
|
verbose_name = verbose_name_plural = '公司'
|
|
|
|
|
class gerenjianli(BaseModel):
|
|
|
|
|
__doc__ = u'''gerenjianli'''
|
|
|
|
|
__tablename__ = 'gerenjianli'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={'zhanghao':'qiuzhizhe',}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
zhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='账号' )
|
|
|
|
|
xingming=models.CharField ( max_length=255, null=True, unique=False, verbose_name='姓名' )
|
|
|
|
|
xingbie=models.CharField ( max_length=255, null=True, unique=False, verbose_name='性别' )
|
|
|
|
|
shouji=models.CharField ( max_length=255, null=True, unique=False, verbose_name='手机' )
|
|
|
|
|
zhaopian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='照片' )
|
|
|
|
|
zhuanye=models.CharField ( max_length=255,null=False, unique=False, verbose_name='专业' )
|
|
|
|
|
xueli=models.CharField ( max_length=255,null=False, unique=False, verbose_name='学历' )
|
|
|
|
|
xuexiao=models.CharField ( max_length=255,null=False, unique=False, verbose_name='学校' )
|
|
|
|
|
chushengriqi=models.DateField ( null=True, unique=False, verbose_name='出生日期' )
|
|
|
|
|
yingyushuiping=models.CharField ( max_length=255, null=True, unique=False, verbose_name='英语水平' )
|
|
|
|
|
gongzuonianxian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='工作年限' )
|
|
|
|
|
juzhudizhi=models.CharField ( max_length=255, null=True, unique=False, verbose_name='居住地址' )
|
|
|
|
|
gerenjineng=models.TextField ( null=True, unique=False, verbose_name='个人技能' )
|
|
|
|
|
yixianggangwei=models.CharField ( max_length=255, null=True, unique=False, verbose_name='意向岗位' )
|
|
|
|
|
yixiangfangxiang=models.CharField ( max_length=255, null=True, unique=False, verbose_name='意向方向' )
|
|
|
|
|
yixiangchengshi=models.CharField ( max_length=255, null=True, unique=False, verbose_name='意向城市' )
|
|
|
|
|
yixiangxinshui=models.CharField ( max_length=255, null=True, unique=False, verbose_name='意向薪水' )
|
|
|
|
|
ziwomiaoshu=models.TextField ( null=True, unique=False, verbose_name='自我描述' )
|
|
|
|
|
'''
|
|
|
|
|
zhanghao=VARCHAR
|
|
|
|
|
xingming=VARCHAR
|
|
|
|
|
xingbie=VARCHAR
|
|
|
|
|
shouji=VARCHAR
|
|
|
|
|
zhaopian=VARCHAR
|
|
|
|
|
zhuanye=VARCHAR
|
|
|
|
|
xueli=VARCHAR
|
|
|
|
|
xuexiao=VARCHAR
|
|
|
|
|
chushengriqi=Date
|
|
|
|
|
yingyushuiping=VARCHAR
|
|
|
|
|
gongzuonianxian=VARCHAR
|
|
|
|
|
juzhudizhi=VARCHAR
|
|
|
|
|
gerenjineng=Text
|
|
|
|
|
yixianggangwei=VARCHAR
|
|
|
|
|
yixiangfangxiang=VARCHAR
|
|
|
|
|
yixiangchengshi=VARCHAR
|
|
|
|
|
yixiangxinshui=VARCHAR
|
|
|
|
|
ziwomiaoshu=Text
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'gerenjianli'
|
|
|
|
|
verbose_name = verbose_name_plural = '个人简历'
|
|
|
|
|
class gongsixinxi(BaseModel):
|
|
|
|
|
__doc__ = u'''gongsixinxi'''
|
|
|
|
|
__tablename__ = 'gongsixinxi'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={'gongsizhanghao':'gongsi',}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='是'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='是'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='是'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
gongsizhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司账号' )
|
|
|
|
|
gongsimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司名称' )
|
|
|
|
|
fengmian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='封面' )
|
|
|
|
|
gongsidizhi=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司地址' )
|
|
|
|
|
gongsilingyu=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司领域' )
|
|
|
|
|
gongsiguimo=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司规模' )
|
|
|
|
|
gongsileixing=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司类型' )
|
|
|
|
|
chuangliriqi=models.DateField ( null=True, unique=False, verbose_name='创立日期' )
|
|
|
|
|
fuzeren=models.CharField ( max_length=255, null=True, unique=False, verbose_name='负责人' )
|
|
|
|
|
lianxifangshi=models.CharField ( max_length=255, null=True, unique=False, verbose_name='联系方式' )
|
|
|
|
|
yuangongrenshu=models.CharField ( max_length=255, null=True, unique=False, verbose_name='员工人数' )
|
|
|
|
|
gongsijieshao=models.TextField ( null=True, unique=False, verbose_name='公司介绍' )
|
|
|
|
|
thumbsupnum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='赞' )
|
|
|
|
|
crazilynum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='踩' )
|
|
|
|
|
clicktime=models.DateTimeField ( null=True, unique=False, verbose_name='最近点击时间' )
|
|
|
|
|
clicknum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='点击次数' )
|
|
|
|
|
'''
|
|
|
|
|
gongsizhanghao=VARCHAR
|
|
|
|
|
gongsimingcheng=VARCHAR
|
|
|
|
|
fengmian=VARCHAR
|
|
|
|
|
gongsidizhi=VARCHAR
|
|
|
|
|
gongsilingyu=VARCHAR
|
|
|
|
|
gongsiguimo=VARCHAR
|
|
|
|
|
gongsileixing=VARCHAR
|
|
|
|
|
chuangliriqi=Date
|
|
|
|
|
fuzeren=VARCHAR
|
|
|
|
|
lianxifangshi=VARCHAR
|
|
|
|
|
yuangongrenshu=VARCHAR
|
|
|
|
|
gongsijieshao=Text
|
|
|
|
|
thumbsupnum=Integer
|
|
|
|
|
crazilynum=Integer
|
|
|
|
|
clicktime=DateTime
|
|
|
|
|
clicknum=Integer
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'gongsixinxi'
|
|
|
|
|
verbose_name = verbose_name_plural = '公司信息'
|
|
|
|
|
class zhaopinxinxi(BaseModel):
|
|
|
|
|
__doc__ = u'''zhaopinxinxi'''
|
|
|
|
|
__tablename__ = 'zhaopinxinxi'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={'gongsizhanghao':'gongsi',}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='是'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='是'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='是'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
gangweibianhao=models.CharField ( max_length=255,null=False,unique=True, verbose_name='岗位编号' )
|
|
|
|
|
gangweimingcheng=models.CharField ( max_length=255,null=False, unique=False, verbose_name='岗位名称' )
|
|
|
|
|
shangbandizhi=models.CharField ( max_length=255,null=False, unique=False, verbose_name='上班地址' )
|
|
|
|
|
jingyanyaoqiu=models.TextField ( null=False, unique=False, verbose_name='经验要求' )
|
|
|
|
|
xueliyaoqiu=models.CharField ( max_length=255,null=False, unique=False, verbose_name='学历要求' )
|
|
|
|
|
zhaopinrenshu=models.IntegerField ( null=False, unique=False, verbose_name='招聘人数' )
|
|
|
|
|
gangweifuli=models.TextField ( null=True, unique=False, verbose_name='岗位福利' )
|
|
|
|
|
xinzidaiyu=models.CharField ( max_length=255, null=True, unique=False, verbose_name='薪资待遇' )
|
|
|
|
|
gongzuonianxian=models.CharField ( max_length=255,null=False, unique=False, verbose_name='工作年限' )
|
|
|
|
|
tupian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='图片' )
|
|
|
|
|
fabushijian=models.DateField ( null=True, unique=False, verbose_name='发布时间' )
|
|
|
|
|
gongsizhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司账号' )
|
|
|
|
|
gongsimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司名称' )
|
|
|
|
|
gongsilingyu=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司领域' )
|
|
|
|
|
gongsiguimo=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司规模' )
|
|
|
|
|
gongsileixing=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司类型' )
|
|
|
|
|
zhiweixinxi=models.TextField ( null=True, unique=False, verbose_name='职位信息' )
|
|
|
|
|
thumbsupnum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='赞' )
|
|
|
|
|
crazilynum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='踩' )
|
|
|
|
|
clicktime=models.DateTimeField ( null=True, unique=False, verbose_name='最近点击时间' )
|
|
|
|
|
clicknum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='点击次数' )
|
|
|
|
|
'''
|
|
|
|
|
gangweibianhao=VARCHAR
|
|
|
|
|
gangweimingcheng=VARCHAR
|
|
|
|
|
shangbandizhi=VARCHAR
|
|
|
|
|
jingyanyaoqiu=Text
|
|
|
|
|
xueliyaoqiu=VARCHAR
|
|
|
|
|
zhaopinrenshu=Integer
|
|
|
|
|
gangweifuli=Text
|
|
|
|
|
xinzidaiyu=VARCHAR
|
|
|
|
|
gongzuonianxian=VARCHAR
|
|
|
|
|
tupian=VARCHAR
|
|
|
|
|
fabushijian=Date
|
|
|
|
|
gongsizhanghao=VARCHAR
|
|
|
|
|
gongsimingcheng=VARCHAR
|
|
|
|
|
gongsilingyu=VARCHAR
|
|
|
|
|
gongsiguimo=VARCHAR
|
|
|
|
|
gongsileixing=VARCHAR
|
|
|
|
|
zhiweixinxi=Text
|
|
|
|
|
thumbsupnum=Integer
|
|
|
|
|
crazilynum=Integer
|
|
|
|
|
clicktime=DateTime
|
|
|
|
|
clicknum=Integer
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'zhaopinxinxi'
|
|
|
|
|
verbose_name = verbose_name_plural = '招聘信息'
|
|
|
|
|
class toudijianli(BaseModel):
|
|
|
|
|
__doc__ = u'''toudijianli'''
|
|
|
|
|
__tablename__ = 'toudijianli'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={'zhanghao':'qiuzhizhe','gongsizhanghao':'gongsi',}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='是'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='否'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
zhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='账号' )
|
|
|
|
|
xingming=models.CharField ( max_length=255, null=True, unique=False, verbose_name='姓名' )
|
|
|
|
|
zhaopian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='照片' )
|
|
|
|
|
jianliwenjian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='简历文件' )
|
|
|
|
|
gangweimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='岗位名称' )
|
|
|
|
|
toudishijian=models.DateTimeField ( null=True, unique=False, verbose_name='投递时间' )
|
|
|
|
|
gongsizhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司账号' )
|
|
|
|
|
gongsimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司名称' )
|
|
|
|
|
crossuserid=models.BigIntegerField ( null=True, unique=False, verbose_name='跨表用户id' )
|
|
|
|
|
crossrefid=models.BigIntegerField ( null=True, unique=False, verbose_name='跨表主键id' )
|
|
|
|
|
sfsh=models.CharField ( max_length=255, null=True, unique=False,default='否', verbose_name='是否审核' )
|
|
|
|
|
shhf=models.TextField ( null=True, unique=False, verbose_name='审核回复' )
|
|
|
|
|
'''
|
|
|
|
|
zhanghao=VARCHAR
|
|
|
|
|
xingming=VARCHAR
|
|
|
|
|
zhaopian=VARCHAR
|
|
|
|
|
jianliwenjian=VARCHAR
|
|
|
|
|
gangweimingcheng=VARCHAR
|
|
|
|
|
toudishijian=DateTime
|
|
|
|
|
gongsizhanghao=VARCHAR
|
|
|
|
|
gongsimingcheng=VARCHAR
|
|
|
|
|
crossuserid=BigInteger
|
|
|
|
|
crossrefid=BigInteger
|
|
|
|
|
sfsh=VARCHAR
|
|
|
|
|
shhf=Text
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'toudijianli'
|
|
|
|
|
verbose_name = verbose_name_plural = '投递简历'
|
|
|
|
|
class mianshiyaoqing(BaseModel):
|
|
|
|
|
__doc__ = u'''mianshiyaoqing'''
|
|
|
|
|
__tablename__ = 'mianshiyaoqing'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={'gongsizhanghao':'gongsi','zhanghao':'qiuzhizhe',}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='是'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
gangweimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='岗位名称' )
|
|
|
|
|
tongzhineirong=models.TextField ( null=False, unique=False, verbose_name='通知内容' )
|
|
|
|
|
tongzhishijian=models.DateTimeField ( null=True, unique=False, verbose_name='通知时间' )
|
|
|
|
|
gongsizhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司账号' )
|
|
|
|
|
gongsimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司名称' )
|
|
|
|
|
zhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='账号' )
|
|
|
|
|
xingming=models.CharField ( max_length=255, null=True, unique=False, verbose_name='姓名' )
|
|
|
|
|
crossuserid=models.BigIntegerField ( null=True, unique=False, verbose_name='跨表用户id' )
|
|
|
|
|
crossrefid=models.BigIntegerField ( null=True, unique=False, verbose_name='跨表主键id' )
|
|
|
|
|
sfsh=models.CharField ( max_length=255, null=True, unique=False,default='否', verbose_name='是否审核' )
|
|
|
|
|
shhf=models.TextField ( null=True, unique=False, verbose_name='审核回复' )
|
|
|
|
|
'''
|
|
|
|
|
gangweimingcheng=VARCHAR
|
|
|
|
|
tongzhineirong=Text
|
|
|
|
|
tongzhishijian=DateTime
|
|
|
|
|
gongsizhanghao=VARCHAR
|
|
|
|
|
gongsimingcheng=VARCHAR
|
|
|
|
|
zhanghao=VARCHAR
|
|
|
|
|
xingming=VARCHAR
|
|
|
|
|
crossuserid=BigInteger
|
|
|
|
|
crossrefid=BigInteger
|
|
|
|
|
sfsh=VARCHAR
|
|
|
|
|
shhf=Text
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'mianshiyaoqing'
|
|
|
|
|
verbose_name = verbose_name_plural = '面试邀请'
|
|
|
|
|
class mianshijieguo(BaseModel):
|
|
|
|
|
__doc__ = u'''mianshijieguo'''
|
|
|
|
|
__tablename__ = 'mianshijieguo'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={'gongsizhanghao':'gongsi','zhanghao':'qiuzhizhe',}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
biaoti=models.CharField ( max_length=255, null=True, unique=False, verbose_name='标题' )
|
|
|
|
|
gangweimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='岗位名称' )
|
|
|
|
|
jieguo=models.TextField ( null=False, unique=False, verbose_name='结果' )
|
|
|
|
|
shijian=models.DateTimeField ( null=True, unique=False, verbose_name='时间' )
|
|
|
|
|
gongsizhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司账号' )
|
|
|
|
|
gongsimingcheng=models.CharField ( max_length=255, null=True, unique=False, verbose_name='公司名称' )
|
|
|
|
|
zhanghao=models.CharField ( max_length=255, null=True, unique=False, verbose_name='账号' )
|
|
|
|
|
xingming=models.CharField ( max_length=255, null=True, unique=False, verbose_name='姓名' )
|
|
|
|
|
crossuserid=models.BigIntegerField ( null=True, unique=False, verbose_name='跨表用户id' )
|
|
|
|
|
crossrefid=models.BigIntegerField ( null=True, unique=False, verbose_name='跨表主键id' )
|
|
|
|
|
'''
|
|
|
|
|
biaoti=VARCHAR
|
|
|
|
|
gangweimingcheng=VARCHAR
|
|
|
|
|
jieguo=Text
|
|
|
|
|
shijian=DateTime
|
|
|
|
|
gongsizhanghao=VARCHAR
|
|
|
|
|
gongsimingcheng=VARCHAR
|
|
|
|
|
zhanghao=VARCHAR
|
|
|
|
|
xingming=VARCHAR
|
|
|
|
|
crossuserid=BigInteger
|
|
|
|
|
crossrefid=BigInteger
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'mianshijieguo'
|
|
|
|
|
verbose_name = verbose_name_plural = '面试结果'
|
|
|
|
|
class tongzhigonggao(BaseModel):
|
|
|
|
|
__doc__ = u'''tongzhigonggao'''
|
|
|
|
|
__tablename__ = 'tongzhigonggao'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='是'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='是'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='是'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
biaoti=models.CharField ( max_length=255,null=False, unique=False, verbose_name='标题' )
|
|
|
|
|
jianjie=models.TextField ( null=True, unique=False, verbose_name='简介' )
|
|
|
|
|
fabushijian=models.DateField ( null=True, unique=False, verbose_name='发布时间' )
|
|
|
|
|
fengmian=models.CharField ( max_length=255, null=True, unique=False, verbose_name='封面' )
|
|
|
|
|
neirong=models.TextField ( null=True, unique=False, verbose_name='内容' )
|
|
|
|
|
clicktime=models.DateTimeField ( null=True, unique=False, verbose_name='最近点击时间' )
|
|
|
|
|
clicknum=models.IntegerField ( null=True, unique=False,default='0', verbose_name='点击次数' )
|
|
|
|
|
'''
|
|
|
|
|
biaoti=VARCHAR
|
|
|
|
|
jianjie=Text
|
|
|
|
|
fabushijian=Date
|
|
|
|
|
fengmian=VARCHAR
|
|
|
|
|
neirong=Text
|
|
|
|
|
clicktime=DateTime
|
|
|
|
|
clicknum=Integer
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'tongzhigonggao'
|
|
|
|
|
verbose_name = verbose_name_plural = '通知公告'
|
|
|
|
|
class keshihua(BaseModel):
|
|
|
|
|
__doc__ = u'''keshihua'''
|
|
|
|
|
__tablename__ = 'keshihua'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={}
|
|
|
|
|
__authPeople__='否'#用户表,表属性loginUserColumn对应的值就是用户名字段,mima就是密码字段
|
|
|
|
|
__sfsh__='否'#表sfsh(是否审核,”是”或”否”)字段和sfhf(审核回复)字段,后台列表(page)的操作中要多一个”审核”按钮,点击”审核”弹出一个页面,包含”是否审核”和”审核回复”,点击确定调用update接口,修改sfsh和sfhf两个字段。
|
|
|
|
|
__authSeparate__='否'#后台列表权限
|
|
|
|
|
__thumbsUp__='否'#表属性thumbsUp[是/否],新增thumbsupnum赞和crazilynum踩字段
|
|
|
|
|
__intelRecom__='否'#智能推荐功能(表属性:[intelRecom(是/否)],新增clicktime[前端不显示该字段]字段(调用info/detail接口的时候更新),按clicktime排序查询)
|
|
|
|
|
__browseClick__='否'#表属性[browseClick:是/否],点击字段(clicknum),调用info/detail接口的时候后端自动+1)、投票功能(表属性[vote:是/否],投票字段(votenum),调用vote接口后端votenum+1
|
|
|
|
|
__foreEndListAuth__='否'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
__foreEndList__='否'#表属性[foreEndList]前台list:和后台默认的list列表页相似,只是摆在前台,否:指没有此页,是:表示有此页(不需要登陆即可查看),前要登:表示有此页且需要登陆后才能查看
|
|
|
|
|
__isAdmin__='否'#表属性isAdmin=”是”,刷出来的用户表也是管理员,即page和list可以查看所有人的考试记录(同时应用于其他表)
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
keshihua=models.CharField ( max_length=255, null=True, unique=False, verbose_name='可视化' )
|
|
|
|
|
'''
|
|
|
|
|
keshihua=VARCHAR
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'keshihua'
|
|
|
|
|
verbose_name = verbose_name_plural = '可视化'
|
|
|
|
|
class storeup(BaseModel):
|
|
|
|
|
__doc__ = u'''storeup'''
|
|
|
|
|
__tablename__ = 'storeup'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__authTables__={}
|
|
|
|
|
__authSeparate__='是'#后台列表权限
|
|
|
|
|
__foreEndListAuth__='是'#前台列表权限foreEndListAuth[是/否];当foreEndListAuth=是,刷的表新增用户字段userid,前台list列表接口仅能查看自己的记录和add接口后台赋值userid的值
|
|
|
|
|
addtime = models.DateTimeField(auto_now_add=False, verbose_name=u'创建时间')
|
|
|
|
|
userid=models.BigIntegerField ( null=False, unique=False, verbose_name='用户id' )
|
|
|
|
|
refid=models.BigIntegerField ( null=True, unique=False, verbose_name='收藏id' )
|
|
|
|
|
tablename=models.CharField ( max_length=255, null=True, unique=False, verbose_name='表名' )
|
|
|
|
|
name=models.CharField ( max_length=255,null=False, unique=False, verbose_name='收藏名称' )
|
|
|
|
|
picture=models.CharField ( max_length=255,null=False, unique=False, verbose_name='收藏图片' )
|
|
|
|
|
type=models.CharField ( max_length=255, null=True, unique=False,default='1', verbose_name='类型(1:收藏,21:赞,22:踩)' )
|
|
|
|
|
inteltype=models.CharField ( max_length=255, null=True, unique=False, verbose_name='推荐类型' )
|
|
|
|
|
'''
|
|
|
|
|
userid=BigInteger
|
|
|
|
|
refid=BigInteger
|
|
|
|
|
tablename=VARCHAR
|
|
|
|
|
name=VARCHAR
|
|
|
|
|
picture=VARCHAR
|
|
|
|
|
type=VARCHAR
|
|
|
|
|
inteltype=VARCHAR
|
|
|
|
|
'''
|
|
|
|
|
class Meta:
|
|
|
|
|
db_table = 'storeup'
|
|
|
|
|
verbose_name = verbose_name_plural = '收藏表'
|