#-*- coding:utf-8 -*-
from django.db import models

# Create your models here.
class gdzcinfoModel(models.Model):
    modelsn     = models.CharField(null=True, blank=True, max_length=100, verbose_name="编号")
    name        = models.CharField(max_length=100, verbose_name="名称")
    modeltype   = models.CharField(null=True, blank=True, max_length=100, verbose_name="型号")
    modelclass  = models.CharField(max_length=100, verbose_name="类别")
    nums        = models.IntegerField(verbose_name="数量")
    prices      = models.FloatField(verbose_name="价格")
    buydate     = models.DateField(verbose_name="购买日期")
    adminclass  = models.CharField(max_length=100, verbose_name="归属科室")
    adminpp     = models.CharField(null=True, blank=True, max_length=100, verbose_name="责任人")
    demo        = models.TextField(null=True, blank=True, verbose_name="详细备注")
    isuse       = models.CharField(null=True, blank=True, max_length=10, verbose_name="是否在用")

    class Meta():
        ordering = ['id']

    def __unicode__(self):
        return u"%s %s %s　%s　%s　%s　%s　%s　%s %s" % (self.id, self.name, self.modeltype, self.modelclass, self.nums, self.prices, self.buydate, self.adminclass, self.adminpp, self.isuse)

33a6f96c65c438b9e838827a0b251fc86d737a97
<mask token>

<mask token>


class gdzcinfoModel(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        ordering = ['id']

    def __unicode__(self):
        return (
            u'%s %s %s\u3000%s\u3000%s\u3000%s\u3000%s\u3000%s\u3000%s %s' %
            (self.id, self.name, self.modeltype, self.modelclass, self.nums,
            self.prices, self.buydate, self.adminclass, self.adminpp, self.
            isuse))

<mask token>


class gdzcinfoModel(models.Model):
    modelsn = models.CharField(null=True, blank=True, max_length=100,
        verbose_name='编号')
    name = models.CharField(max_length=100, verbose_name='名称')
    modeltype = models.CharField(null=True, blank=True, max_length=100,
        verbose_name='型号')
    modelclass = models.CharField(max_length=100, verbose_name='类别')
    nums = models.IntegerField(verbose_name='数量')
    prices = models.FloatField(verbose_name='价格')
    buydate = models.DateField(verbose_name='购买日期')
    adminclass = models.CharField(max_length=100, verbose_name='归属科室')
    adminpp = models.CharField(null=True, blank=True, max_length=100,
        verbose_name='责任人')
    demo = models.TextField(null=True, blank=True, verbose_name='详细备注')
    isuse = models.CharField(null=True, blank=True, max_length=10,
        verbose_name='是否在用')


    class Meta:
        ordering = ['id']

    def __unicode__(self):
        return (
            u'%s %s %s\u3000%s\u3000%s\u3000%s\u3000%s\u3000%s\u3000%s %s' %
            (self.id, self.name, self.modeltype, self.modelclass, self.nums,
            self.prices, self.buydate, self.adminclass, self.adminpp, self.
            isuse))

from django.db import models


class gdzcinfoModel(models.Model):
    modelsn = models.CharField(null=True, blank=True, max_length=100,
        verbose_name='编号')
    name = models.CharField(max_length=100, verbose_name='名称')
    modeltype = models.CharField(null=True, blank=True, max_length=100,
        verbose_name='型号')
    modelclass = models.CharField(max_length=100, verbose_name='类别')
    nums = models.IntegerField(verbose_name='数量')
    prices = models.FloatField(verbose_name='价格')
    buydate = models.DateField(verbose_name='购买日期')
    adminclass = models.CharField(max_length=100, verbose_name='归属科室')
    adminpp = models.CharField(null=True, blank=True, max_length=100,
        verbose_name='责任人')
    demo = models.TextField(null=True, blank=True, verbose_name='详细备注')
    isuse = models.CharField(null=True, blank=True, max_length=10,
        verbose_name='是否在用')


    class Meta:
        ordering = ['id']

    def __unicode__(self):
        return (
            u'%s %s %s\u3000%s\u3000%s\u3000%s\u3000%s\u3000%s\u3000%s %s' %
            (self.id, self.name, self.modeltype, self.modelclass, self.nums,
            self.prices, self.buydate, self.adminclass, self.adminpp, self.
            isuse))

#-*- coding:utf-8 -*-
from django.db import models

# Create your models here.
class gdzcinfoModel(models.Model):
    modelsn     = models.CharField(null=True, blank=True, max_length=100, verbose_name="编号")
    name        = models.CharField(max_length=100, verbose_name="名称")
    modeltype   = models.CharField(null=True, blank=True, max_length=100, verbose_name="型号")
    modelclass  = models.CharField(max_length=100, verbose_name="类别")
    nums        = models.IntegerField(verbose_name="数量")
    prices      = models.FloatField(verbose_name="价格")
    buydate     = models.DateField(verbose_name="购买日期")
    adminclass  = models.CharField(max_length=100, verbose_name="归属科室")
    adminpp     = models.CharField(null=True, blank=True, max_length=100, verbose_name="责任人")
    demo        = models.TextField(null=True, blank=True, verbose_name="详细备注")
    isuse       = models.CharField(null=True, blank=True, max_length=10, verbose_name="是否在用")

    class Meta():
        ordering = ['id']

    def __unicode__(self):
        return u"%s %s %s　%s　%s　%s　%s　%s　%s %s" % (self.id, self.name, self.modeltype, self.modelclass, self.nums, self.prices, self.buydate, self.adminclass, self.adminpp, self.isuse)
