不写注释的程序员-Models
Models
不写注释的程序员-Models
# This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey has `on_delete` set to the desired behavior.
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from __future__ import unicode_literals
from django.db import models
class AffirmCategory(models.Model):
affirmcategoryname = models.CharField(db_column='affirmCategoryName', max_length=255, blank=True,
null=True) # Field name made lowercase.
class Meta:
managed = False
db_table = 'affirm_category'
class AffirmCi(models.Model):
affirmkeywordname = models.CharField(db_column='affirmKeyWordName', max_length=255, blank=True,
null=True) # Field name made lowercase.
affirmsearch_volume = models.IntegerField(db_column='affirmSearch_volume', blank=True,
null=True) # Field name made lowercase.
affirmresults = models.IntegerField(db_column='affirmResults', blank=True, null=True) # Field name made lowercase.
affirmpurchase = models.IntegerField(db_column='affirmPurchase', blank=True,
null=True) # Field name made lowercase.
affirmcvr = models.DecimalField(db_column='affirmCvr', max_digits=10, decimal_places=2, blank=True,
null=True) # Field name made lowercase.
affirmquality = models.DecimalField(db_column='affirmQuality', max_digits=10, decimal_places=2, blank=True,
null=True) # Field name made lowercase.
affirmqualitygrade = models.DecimalField(db_column='affirmQualityGrade', max_digits=10, decimal_places=2,
blank=True, null=True) # Field name made lowercase.
affirm_foreign = models.ForeignKey(AffirmCategory, models.DO_NOTHING, db_column='affirm_foreign', blank=True,
null=True)
create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name="更新时间")
class Meta:
managed = False
db_table = 'affirm_ci'
class AffirmWords(models.Model):
affirmname = models.CharField(db_column='affirmName', max_length=255, blank=True,
null=True) # Field name made lowercase.
affirmfrequency = models.IntegerField(db_column='affirmFrequency', blank=True,
null=True) # Field name made lowercase.
cate = models.ForeignKey(AffirmCategory, models.DO_NOTHING, blank=True, null=True)
class Meta:
managed = False
db_table = 'affirm_words'
class Asin(models.Model):
asin_name = models.CharField(max_length=255, blank=True, null=True)
create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name="更新时间")
class Meta:
managed = False
db_table = 'asin'
class AsinKeywordInfo(models.Model):
keywordinfo_name = models.CharField(max_length=255, blank=True, null=True)
search_trend = models.TextField(blank=True, null=True)
purchase = models.IntegerField(blank=True, null=True)
search_volume = models.IntegerField(blank=True, null=True)
search_hot = models.IntegerField(blank=True, null=True)
results = models.IntegerField(blank=True, null=True)
cvr = models.DecimalField(max_digits=10, decimal_places=2, blank=True, null=True)
quality = models.DecimalField(max_digits=10, decimal_places=2, blank=True, null=True)
create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name="更新时间")
class Meta:
managed = False
db_table = 'asin_keyword_info'
class Asininfo(models.Model):
asin = models.ForeignKey(Asin, models.DO_NOTHING, blank=True, null=True)
asininfo = models.ForeignKey(AsinKeywordInfo, models.DO_NOTHING, blank=True, null=True)
class Meta:
managed = False
db_table = 'asininfo'
class Keyword(models.Model):
keyword_name = models.CharField(max_length=255, blank=True, null=True)
create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name="更新时间")
class Meta:
managed = False
db_table = 'keyword'
class Keywordinfo(models.Model):
keyword = models.ForeignKey(Keyword, models.DO_NOTHING, blank=True, null=True)
keywordinfo = models.ForeignKey(AsinKeywordInfo, models.DO_NOTHING, blank=True, null=True)
class Meta:
managed = False
db_table = 'keywordinfo'
class NegativeCi(models.Model):
negativekeywordname = models.CharField(db_column='negativeKeyWordName', max_length=255, blank=True,
null=True) # Field name made lowercase.
negativesearchvolume = models.IntegerField(db_column='negativeSearchVolume', blank=True,
null=True) # Field name made lowercase.
negative_foreign = models.ForeignKey(AffirmCategory, models.DO_NOTHING, db_column='negative_foreign', blank=True,
null=True)
create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name="更新时间")
class Meta:
managed = False
db_table = 'negative_ci'
class NegativeWords(models.Model):
negativename = models.CharField(db_column='negativeName', max_length=255, blank=True,
null=True) # Field name made lowercase.
negativefrequency = models.IntegerField(db_column='negativeFrequency', blank=True,
null=True) # Field name made lowercase.
negative_cate = models.ForeignKey(AffirmCategory, models.DO_NOTHING, blank=True, null=True)
class Meta:
managed = False
db_table = 'negative_words'
class Site(models.Model):
site_name = models.CharField(max_length=255, blank=True, null=True)
create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
update_time = models.DateTimeField(auto_now=True, verbose_name="更新时间")
class Meta:
managed = False
db_table = 'site'
class SiteAsin(models.Model):
sid = models.ForeignKey(Site, models.DO_NOTHING, db_column='sid', blank=True, null=True)
aid = models.ForeignKey(Asin, models.DO_NOTHING, db_column='aid', blank=True, null=True)
class Meta:
managed = False
db_table = 'site_asin'
class SiteKeyword(models.Model):
sid = models.ForeignKey(Site, models.DO_NOTHING, db_column='sid', blank=True, null=True)
kid = models.ForeignKey(Keyword, models.DO_NOTHING, db_column='kid', blank=True, null=True)
class Meta:
managed = False
db_table = 'site_keyword'
不写注释的程序员-Models的更多相关文章
- 敏捷软件开发:原则、模式与实践——第13章 写给C#程序员的UML概述
第13章 写给C#程序员的UML概述 UML包含3类主要的图示.静态图(static diagram)描述了类.对象.数据结构以及它们之间的关系,藉此表现出了软件元素间那些不变的逻辑结构.动态图(dy ...
- 写给嵌入式程序员的循环冗余校验(CRC)算法入门引导
写给嵌入式程序员的循环冗余校验(CRC)算法入门引导 http://blog.csdn.net/liyuanbhu/article/details/7882789 前言 CRC校验(循环冗余校验)是数 ...
- 不要困在自己建造的盒子里——写给.NET程序员(附精彩评论)
此文章的主旨是希望过于专注.NET程序员在做好工作.写好.NET程序的同时,能分拨出一点时间接触一下.NET之外的东西(例如10%-20%的时间),而不是鼓动大家什么都去学最后什么都学不精,更不是说. ...
- 写给后端程序员的HTTP缓存原理介绍
There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Ka ...
- 写给iOS程序员的命令行使用秘籍
http://www.jianshu.com/p/44d3b8f713f2 Mac OS是Unix系统的分支,有着强大的命令行功能.很多事情在命令行下处理会事半功倍,所以我就iOS程序员可能会用到的功 ...
- 写给Java程序员的Java虚拟机学习指南
大家好,我是极客时间<深入拆解Java虚拟机>作者.Oracle Labs高级研究员郑雨迪.有幸借这个专题的机会,能和大家分享为何Java工程师要学Java虚拟机?如何掌握Java虚拟机? ...
- 写给java程序员的c++与java实现的一些重要细微差别
0.其实常规的逻辑判断结构.工具类.文件读写.控制台读写这些的关系都不大,熟悉之后,这些都是灵活运用的问题. 学习c/c++需要预先知道的一个前提就是,虽然有ANSI C标准,但是每个c/c++编译器 ...
- 写给java程序员的c++与java实现的一些重要细微差别-附完整版pdf学习手册
0.其实常规的逻辑判断结构.工具类.文件读写.控制台读写这些的关系都不大,熟悉之后,这些都是灵活运用的问题. 学习c/c++需要预先知道的一个前提就是,虽然有ANSI C标准,但是每个c/c++编译器 ...
- 写给后端程序员的HTTP缓存原理介绍--怎样决定一个资源的Cache-Control策略呢
通过Internet获取资源既缓慢,成本又高.为此,Http协议里包含了控制缓存的部分,以使Http客户端可以缓存和重用以前获 取的资源,从而优化性能,提升体验.虽然Http中关于缓存控制的部分,随着 ...
随机推荐
- 洛谷P5691题解
题面 本人用的是暴力分类讨论 + \(unordered\_map\) 存储,与所有的题解都不同. 因为 \(n \leq 6\) ,非常的小,并且我不想写 DFS,所以直接暴力分类讨论 \(n=1, ...
- Java异常01——捕获和抛出异常
捕获和抛出异常 异常处理五个关键字 try , catch , finally , throw , throws try catch finally(快捷键:选中要要监控的代码语句 快捷键: ctrl ...
- HotSpot 对象
概述 当Java虚拟机遇到一条字节码new指令时,首先将去检查这个指令的参数是否能在常量池中定位到一个类的符号引用, 并且检查这个符号引用代表的类是否已被加载.解析和初始化过.如果没有,那必须先执行相 ...
- 腾讯云TDSQL PostgreSQL版 -最佳实践 |优化 SQL 语句
查看是否为分布键查询 postgres=# explain select * from tbase_1 where f1=1; QUERY PLAN ------------------------- ...
- Spring对Controller、Service、Dao进行Junit单元测试总结
测试类注解 @RunWith(SpringRunner.class) @SpringBootTest(classes={DemoApplication.class}) 以Controller层的的单元 ...
- 【原创】在macOS Big Sur (Silicon M1, ARM)中配置ASP运行环境
亲测有效,转载请附原文地址. 一,安装Parallels Desktop,注意选择支持ARM的版本. 二,注册 Windows Insider Preview Downloads 账号,通过以下链接下 ...
- pom.xml中web.xml is missing and <failOnMissingWebXml> is set to true错误的解决
.personSunflowerP { background: rgba(51, 153, 0, 0.66); border-bottom: 1px solid rgba(0, 102, 0, 1); ...
- 011 FPGA千兆网TCP通信【转载】
一.LWIP 首先通过上面的简单分析,我们应该很清楚一件事:TCP协议很复杂,光握手过程就需要"三次握手.四次挥手"的复杂过程,不是特别适合FPGA的纯逻辑实现,因为用FPGA实现 ...
- 从一次netty 内存泄露问题来看netty对POST请求的解析
背景 最近生产环境一个基于 netty 的网关服务频繁 full gc 观察内存占用,并把时间维度拉的比较长,可以看到可用内存有明显的下降趋势 出现这种情况,按往常的经验,多半是内存泄露了 问题定位 ...
- idea的properties文件乱码问题解决
设置编码格式: File============>Settings,打开设置后,设置成下面的即可解决: