// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.

package log

import (
	"LAPP_LF_MOM_BACKEND/grmi"
	model "LAPP_LF_MOM_BACKEND/models/log"
)

/******************************************************************************
 *
 * @Description              : Vendor的字段元数据
 *
 * @Author                   : 代码生成器创建
 *
 * @Date                     : 2021-04-20 10:57:41
 *
 ******************************************************************************/
var Vendor_PlantNr = grmi.NewField("PlantNr", "LOG_Vendor.PlantNr", "plantnr", grmi.TypeInt)
var Vendor_VendorId = grmi.NewField("VendorId", "LOG_Vendor.VendorId", "vendorid", grmi.TypeString)
var Vendor_Descr = grmi.NewField("Descr", "LOG_Vendor.Descr", "descr", grmi.TypeString)
var Vendor_Address = grmi.NewField("Address", "LOG_Vendor.Address", "address", grmi.TypeString)
var Vendor_Name = grmi.NewField("Name", "LOG_Vendor.Name", "name", grmi.TypeString)
var Vendor_Name1 = grmi.NewField("Name1", "LOG_Vendor.Name1", "name1", grmi.TypeString)
var Vendor_Name2 = grmi.NewField("Name2", "LOG_Vendor.Name2", "name2", grmi.TypeString)
var Vendor_ValidStartDate = grmi.NewField("ValidStartDate", "LOG_Vendor.ValidStartDate", "validstartdate", grmi.TypeDate)
var Vendor_Country = grmi.NewField("Country", "LOG_Vendor.Country", "country", grmi.TypeString)
var Vendor_City = grmi.NewField("City", "LOG_Vendor.City", "city", grmi.TypeString)
var Vendor_District = grmi.NewField("District", "LOG_Vendor.District", "district", grmi.TypeString)
var Vendor_Street = grmi.NewField("Street", "LOG_Vendor.Street", "street", grmi.TypeString)
var Vendor_Location = grmi.NewField("Location", "LOG_Vendor.Location", "location", grmi.TypeString)
var Vendor_PostCode = grmi.NewField("PostCode", "LOG_Vendor.PostCode", "postcode", grmi.TypeString)
var Vendor_Phone = grmi.NewField("Phone", "LOG_Vendor.Phone", "phone", grmi.TypeString)
var Vendor_Mobile = grmi.NewField("Mobile", "LOG_Vendor.Mobile", "mobile", grmi.TypeString)
var Vendor_Fax = grmi.NewField("Fax", "LOG_Vendor.Fax", "fax", grmi.TypeString)
var Vendor_Email1 = grmi.NewField("Email1", "LOG_Vendor.Email1", "email1", grmi.TypeString)
var Vendor_Email2 = grmi.NewField("Email2", "LOG_Vendor.Email2", "email2", grmi.TypeString)
var Vendor_ContactPerson = grmi.NewField("ContactPerson", "LOG_Vendor.ContactPerson", "contactperson", grmi.TypeString)
var Vendor_PersonTitle = grmi.NewField("PersonTitle", "LOG_Vendor.PersonTitle", "persontitle", grmi.TypeString)
var Vendor_ContactAddress = grmi.NewField("ContactAddress", "LOG_Vendor.ContactAddress", "contactaddress", grmi.TypeString)
var Vendor_Account = grmi.NewField("Account", "LOG_Vendor.Account", "account", grmi.TypeInt)
var Vendor_TaxRate = grmi.NewField("TaxRate", "LOG_Vendor.TaxRate", "taxrate", grmi.TypeString)
var Vendor_Status = grmi.NewField("Status", "LOG_Vendor.Status", "status", grmi.TypeInt)
var Vendor_VendorNr = grmi.NewField("VendorNr", "LOG_Vendor.VendorNr", "vendornr", grmi.TypeInt)
var Vendor_Province = grmi.NewField("Province", "LOG_Vendor.Province", "province", grmi.TypeString)
var Vendor_ProvinceCode = grmi.NewField("ProvinceCode", "LOG_Vendor.ProvinceCode", "provincecode", grmi.TypeString)
var Vendor_CityCode = grmi.NewField("CityCode", "LOG_Vendor.CityCode", "citycode", grmi.TypeString)
var Vendor_DistrictCode = grmi.NewField("DistrictCode", "LOG_Vendor.DistrictCode", "districtcode", grmi.TypeString)
var Vendor_LastModify = grmi.NewField("LastModify", "LOG_Vendor.LastModify", "lastmodify", grmi.TypeDateTime)
var Vendor_LastUser = grmi.NewField("LastUser", "LOG_Vendor.LastUser", "lastuser", grmi.TypeString)
var Vendor_CreateTime = grmi.NewField("CreateTime", "LOG_Vendor.CreateTime", "createtime", grmi.TypeDateTime)

/******************************************************************************
 *
 * @Description              : Vendor的元数据
 *
 * @Author                   : 代码生成器创建
 *
 * @Date                     : 2021-04-20 10:57:41
 *
 ******************************************************************************/
var Vendor = grmi.NewEntity(
	"LOG_Vendor",
	func() interface{} { return &model.Vendor{} },
	map[string]grmi.Field{
		Vendor_PlantNr.Name:        Vendor_PlantNr,
		Vendor_VendorId.Name:       Vendor_VendorId,
		Vendor_Descr.Name:          Vendor_Descr,
		Vendor_Address.Name:        Vendor_Address,
		Vendor_Name.Name:           Vendor_Name,
		Vendor_Name1.Name:          Vendor_Name1,
		Vendor_Name2.Name:          Vendor_Name2,
		Vendor_ValidStartDate.Name: Vendor_ValidStartDate,
		Vendor_Country.Name:        Vendor_Country,
		Vendor_City.Name:           Vendor_City,
		Vendor_District.Name:       Vendor_District,
		Vendor_Street.Name:         Vendor_Street,
		Vendor_Location.Name:       Vendor_Location,
		Vendor_PostCode.Name:       Vendor_PostCode,
		Vendor_Phone.Name:          Vendor_Phone,
		Vendor_Mobile.Name:         Vendor_Mobile,
		Vendor_Fax.Name:            Vendor_Fax,
		Vendor_Email1.Name:         Vendor_Email1,
		Vendor_Email2.Name:         Vendor_Email2,
		Vendor_ContactPerson.Name:  Vendor_ContactPerson,
		Vendor_PersonTitle.Name:    Vendor_PersonTitle,
		Vendor_ContactAddress.Name: Vendor_ContactAddress,
		Vendor_Account.Name:        Vendor_Account,
		Vendor_TaxRate.Name:        Vendor_TaxRate,
		Vendor_Status.Name:         Vendor_Status,
		Vendor_VendorNr.Name:       Vendor_VendorNr,
		Vendor_Province.Name:       Vendor_Province,
		Vendor_ProvinceCode.Name:   Vendor_ProvinceCode,
		Vendor_CityCode.Name:       Vendor_CityCode,
		Vendor_DistrictCode.Name:   Vendor_DistrictCode,
		Vendor_LastModify.Name:     Vendor_LastModify,
		Vendor_LastUser.Name:       Vendor_LastUser,
		Vendor_CreateTime.Name:     Vendor_CreateTime,
	},
	[]string{"PlantNr"},
	[]string{"Descr", "Address", "Name", "Name1", "Name2", "ValidStartDate", "Country", "City", "District", "Street", "Location", "PostCode", "Phone", "Mobile", "Fax", "Email1", "Email2", "ContactPerson", "PersonTitle", "ContactAddress", "Account", "TaxRate", "Status", "VendorNr", "Province", "ProvinceCode", "CityCode", "DistrictCode", "LastUser"})
