35 lines
957 B
C#
35 lines
957 B
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
|
|
#nullable disable
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Pos.Dispatcher.Database.Models;
|
|
|
|
[Table("productgroup")]
|
|
[MySqlCharSet("utf8mb4")]
|
|
[MySqlCollation("utf8mb4_general_ci")]
|
|
public partial class Productgroup
|
|
{
|
|
[Key]
|
|
[Column(TypeName = "int(11)")]
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
[Column(TypeName = "tinytext")]
|
|
public string Name { get; set; }
|
|
|
|
[Column(TypeName = "tinyint(4)")]
|
|
public sbyte IsArchived { get; set; }
|
|
|
|
[Column(TypeName = "int(11)")]
|
|
public int Index { get; set; }
|
|
|
|
[Column(TypeName = "tinyint(4)")]
|
|
public sbyte? IsModified { get; set; }
|
|
|
|
[InverseProperty("IdNavigation")]
|
|
public virtual Product Product { get; set; }
|
|
} |