Files
gzth/yuthon_maintain/models/yuthon_maintain_desktop.py
T
2025-01-19 16:59:45 +08:00

25 lines
959 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields, api, exceptions, _
class YuthonMaintainDesktop(models.Model):
_name = 'yuthon.maintain.desktop'
_description = '桌面设置'
name = fields.Char(string='名称')
desktop_id = fields.Many2one('maintain.desktop.setting', string='类型')
mac_address = fields.Char(string='MAC地址')
ip_address = fields.Char(string='IP地址')
cpu = fields.Char(string='CPU')
memory = fields.Char(string='内存')
hard_disk = fields.Char(string='硬盘')
account = fields.Char(string='账号')
password = fields.Char(string='密码')
desktop_type = fields.Char(string='类型')
purchase_date = fields.Date(string='购买日期')
users_id = fields.Many2one('res.users', string='使用人')
remake = fields.Text(string='备注日志')
qr_Image = fields.Image(string='二维码')