mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2025-12-06 05:32:03 +01:00
23 lines
629 B
C#
23 lines
629 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Packt.Shared
|
|
{
|
|
[Keyless]
|
|
public partial class CustomerAndSuppliersByCity
|
|
{
|
|
[StringLength(15)]
|
|
public string? City { get; set; }
|
|
[StringLength(40)]
|
|
public string CompanyName { get; set; } = null!;
|
|
[StringLength(30)]
|
|
public string? ContactName { get; set; }
|
|
[StringLength(9)]
|
|
[Unicode(false)]
|
|
public string Relationship { get; set; } = null!;
|
|
}
|
|
}
|