
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 第十章_汽车租赁系统
{
public class Vehicle
{
//车牌号
public string LicenseNo{ get; set; }
//车名
public string Name { get; set; }
//颜色
public string Color { get; set; }
//使用时间
public int Shijian { get; set; }
//日租金
public double DailyRent{ get; set; }
//卡车载重
public string Zaizhong { get; set; }
public Vehicle()
{
}
public Vehicle(string no,string name,string color,int sj,double dail,string zz )
{
this.LicenseNo = no;
this.Name = name;
this.Color = color;
this.Shijian = sj;