﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace NewWechat.CRM
{
    [Table("CrmCustomerVehicles")]
    public class CrmCustomerVehicle : Entity<Guid>
    {
        public string MakeCode { get; set; }
        public string CategoryCode { get; set; }
        public string ModelCode { get; set; }
        public string Vin { get; set; }
        public string PlateNo { get; set; }
        public string ModelYear { get; set; }
        public string EngineType { get; set; }
        public string TransmissionType { get; set; }
        [ForeignKey("CustomerId")]
        public CrmCustomer Customer { get; set; }
        public Guid CustomerId { get; set; }
    }
}
