eca7c445fe
- views + stored - migrations varie fix oggetti
55 lines
1.5 KiB
C#
55 lines
1.5 KiB
C#
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
#nullable disable
|
|
|
|
namespace SHERPA.BBM.CORE.DbModels
|
|
{
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
public partial class vBasketsDataModel
|
|
{
|
|
|
|
[Key, Column("BasketId")]
|
|
public int BasketId { get; set; }
|
|
|
|
[Column("CompanyId")]
|
|
public int CompanyId { get; set; } = 1;
|
|
|
|
[Column("Anno")]
|
|
public int Anno { get; set; } = 1;
|
|
|
|
[Column("CodBasket"), MaxLength(50)]
|
|
public string CodBasket { get; set; } = "BBM.0000.0000";
|
|
|
|
[Column("IsActive")]
|
|
public bool IsActive { get; set; } = true;
|
|
|
|
[Column("Descript"), MaxLength(250)]
|
|
public string Descript { get; set; } = "";
|
|
|
|
[Column("DataIns")]
|
|
public DateTime DataIns { get; set; } = DateTime.Now;
|
|
|
|
[Column("NumTratt")]
|
|
public int NumTratt { get; set; } = 0;
|
|
|
|
[Column("ImportoTratt"), Precision(18, 6)]
|
|
public decimal ImportoTratt { get; set; } = 0;
|
|
|
|
[Column("Ordinato"), Precision(18, 6)]
|
|
public decimal Ordinato { get; set; } = 0;
|
|
|
|
[Column("Fatturato"), Precision(18, 6)]
|
|
public decimal Fatturato { get; set; } = 0;
|
|
|
|
[Column("Incassato"), Precision(18, 6)]
|
|
public decimal Incassato { get; set; } = 0;
|
|
|
|
}
|
|
}
|