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的更多相关文章

  1. 敏捷软件开发:原则、模式与实践——第13章 写给C#程序员的UML概述

    第13章 写给C#程序员的UML概述 UML包含3类主要的图示.静态图(static diagram)描述了类.对象.数据结构以及它们之间的关系,藉此表现出了软件元素间那些不变的逻辑结构.动态图(dy ...

  2. 写给嵌入式程序员的循环冗余校验(CRC)算法入门引导

    写给嵌入式程序员的循环冗余校验(CRC)算法入门引导 http://blog.csdn.net/liyuanbhu/article/details/7882789 前言 CRC校验(循环冗余校验)是数 ...

  3. 不要困在自己建造的盒子里——写给.NET程序员(附精彩评论)

    此文章的主旨是希望过于专注.NET程序员在做好工作.写好.NET程序的同时,能分拨出一点时间接触一下.NET之外的东西(例如10%-20%的时间),而不是鼓动大家什么都去学最后什么都学不精,更不是说. ...

  4. 写给后端程序员的HTTP缓存原理介绍

    There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Ka ...

  5. 写给iOS程序员的命令行使用秘籍

    http://www.jianshu.com/p/44d3b8f713f2 Mac OS是Unix系统的分支,有着强大的命令行功能.很多事情在命令行下处理会事半功倍,所以我就iOS程序员可能会用到的功 ...

  6. 写给Java程序员的Java虚拟机学习指南

    大家好,我是极客时间<深入拆解Java虚拟机>作者.Oracle Labs高级研究员郑雨迪.有幸借这个专题的机会,能和大家分享为何Java工程师要学Java虚拟机?如何掌握Java虚拟机? ...

  7. 写给java程序员的c++与java实现的一些重要细微差别

    0.其实常规的逻辑判断结构.工具类.文件读写.控制台读写这些的关系都不大,熟悉之后,这些都是灵活运用的问题. 学习c/c++需要预先知道的一个前提就是,虽然有ANSI C标准,但是每个c/c++编译器 ...

  8. 写给java程序员的c++与java实现的一些重要细微差别-附完整版pdf学习手册

    0.其实常规的逻辑判断结构.工具类.文件读写.控制台读写这些的关系都不大,熟悉之后,这些都是灵活运用的问题. 学习c/c++需要预先知道的一个前提就是,虽然有ANSI C标准,但是每个c/c++编译器 ...

  9. 写给后端程序员的HTTP缓存原理介绍--怎样决定一个资源的Cache-Control策略呢

    通过Internet获取资源既缓慢,成本又高.为此,Http协议里包含了控制缓存的部分,以使Http客户端可以缓存和重用以前获 取的资源,从而优化性能,提升体验.虽然Http中关于缓存控制的部分,随着 ...

随机推荐

  1. Semi-automation Script Based on Sleep

    The following script auto login to server 49, send 2 commands and exit from the server. Create a aut ...

  2. SSM集成FastJson

    FastJson Json数据格式回顾 什么是json JSON:(JavaScript Object Notation, JS 对象简谱) 是一种轻量级的数据交换格式.它基于 ECMAScript( ...

  3. kali虚拟机安装VMTools、更新源、安装docker、配置sqli-labs

    一.安装VMTools: 传送门:关于安装VMTools 跟其他版本的虚拟机安装VMTools没什么区别,也得连网(我是kali用dhcp开nat模式) 之后按照上面的链接根据博主的步骤一步一步来即可 ...

  4. cpu设计实践1

    本栏目将实现一个简单cpu(8-32位)的设计,使用xinlink spatan6平台

  5. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to l ...

  6. flutter实现文字超出最大宽度显示省略号

    Container( width: 60, child: Text( '...', maxLines: 1, overflow: TextOverflow.ellipsis, ), ) 给Text外层 ...

  7. C#基础知识---匿名方法使用

    一.匿名方法使用 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Tex ...

  8. 利用Java进行zip文件压缩与解压缩

    摘自: https://www.cnblogs.com/alphajuns/p/12442315.html 工具类: package com.alphajuns.util; import java.i ...

  9. Springboot使用MatrixVariable 注解

        根据 URI 规范 RFC 3986 中 URL 的定义,路径片段中可以可以包含键值对.规范中没对对应的术语.一般 "URL 路径参数" 可以被应用,尽管更加独特的 &qu ...

  10. 深入浅出Mybatis系列(七)---TypeHandler简介

    无论是 MyBatis 在预处理语句(PreparedStatement)中设置一个参数时,还是从结果集中取出一个值时,都会用类型处理器将获取的值以合适的方式转换成 Java 类型.Mybatis默认 ...