vod方案决定
This commit is contained in:
parent
ac53bf88ba
commit
ac85dc2486
|
@ -1,10 +1,14 @@
|
|||
from django.db import models
|
||||
from utils.model import BaseModel
|
||||
from apps.system.models import User, CommonAModel
|
||||
from apps.system.models import User, CommonAModel, Dict
|
||||
# Create your models here.
|
||||
|
||||
class Video(CommonAModel):
|
||||
pass
|
||||
|
||||
name = models.CharField(verbose_name='视频名称', max_length=100)
|
||||
category = models.ForeignKey(Dict, verbose_name='视频分类')
|
||||
description = models.TextField(verbose_name='视频描述')
|
||||
|
||||
|
||||
class WatchRecord(BaseModel):
|
||||
|
||||
|
|
Loading…
Reference in New Issue