# _*_ coding: utf-8 _*_
from odoo import models, fields, api

class Seminar(models.Model):
    _name = 'seminar'
    _order = 'number'

    number = fields.Integer(string='編號', default=0)
    seminar_id = fields.Many2one(comodel_name='seminar', string='說明會梯次')
    name = fields.Char(string='說明會梯次')
    date = fields.Datetime(string='說明會舉辦時間')
    company_id = fields.Many2one(comodel_name='res.company',string='舉辦地點')